Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UUnrealEditorSubsystem
Description
Find the World in the world editor. It can then be used as WorldContext by other libraries like GameplayStatics.
| Name | GetEditorWorld |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/UnrealEditorSubsystem.h |
| Include Path | #include "Subsystems/UnrealEditorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/UnrealEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Utility")
UWorld * GetEditorWorld()
The World used by the world editor.