# GetExecutionMode()

> Retrieve the current execution mode that is configured.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst](/engine/6000.7/script-reference/unity/burst.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static BurstExecutionEnvironment GetExecutionMode()
```

### Returns

| Type                                                                                                  | Description                         |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [BurstExecutionEnvironment](/engine/6000.7/script-reference/unity/burst/burstexecutionenvironment.md) | Currently configured execution mode |
