# LoadLevelInPlayMode(string)

> Load the given level in play mode.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use EditorSceneManager.LoadSceneInPlayMode instead.

```csharp
public static void LoadLevelInPlayMode(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;
