# ExitPlaymode()

> Switches the editor to Edit mode.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void ExitPlaymode()
```

### Remarks

Equivalent to setting [\_isPlaying](/engine/6000.6/script-reference/unityeditor/editorapplication/isplaying.md) to false. [EditorApplication.isPlaying](/engine/6000.6/script-reference/unityeditor/editorapplication/isplaying.md)
