Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary
Deprecated * The Editor Scripting Utilities Plugin is deprecated - Use the function in Level Editor Subsystem
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h |
| Include | #include "EditorLevelLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorLevelLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Level Utility",
Meta&61;&40;DeprecatedFunction, DeprecationMessage&61;"The Editor Scripting Utilities Plugin is deprecated &45; Use the function in Level Editor Subsystem"&41;&41;
static bool SetCurrentLevelByName
&40;
FName LevelName
&41;
Remarks
Set the current level used by the world editor. If more than one level shares the same name, the first one encounter of that level name will be used. True if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| LevelName | The name of the Level the actor belongs to (same name as in the ContentBrowser). |