# State

> Returns the current state of the active play mode scenario.

## Definition

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

```csharp
public static PlayModeScenarioState State { get; }
```
