# ActiveScenario

> Returns or sets the active play mode scenario.

## Definition

* **Type:** Property
* **Namespace:** [Unity.PlayMode.Editor](/engine/6000.7/script-reference/unity/playmode/editor.md)
* **Assembly:** UnityEditor

```csharp
public static PlayModeScenario ActiveScenario { get; set; }
```

### Remarks

Assigning a null value will revert to the default scenario.
