Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorActorSubsystem
Description
Find all loaded Actors that are selected in the world editor. Exclude actor that are pending kill, in PIE, PreviewEditor, ...
| Name | GetSelectedLevelActors |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h |
| Include Path | #include "Subsystems/EditorActorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorActorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Utility")
TArray < class AActor * > GetSelectedLevelActors()
List of found Actors
Parameters
| Name | Remarks |
|---|---|
| ActorClass | Actor Class to find. |