/Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h
Clear the current world editor selection and select the provided actors. Exclude actor that are pending kill, in PIE, PreviewEditor, ...
void SetSelectedLevelActors ( const [TArray](API\Runtime\Core\Containers\TArray)< class [AActor](API\Runtime\Engine\GameFramework\AActor) * > & ActorsToSelect )