/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h
Clear the current world editor selection and select the provided actors. Exclude actor that are pending kill, in PIE, PreviewEditor, ...
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Level Utility", Meta=(DeprecatedFunction, DeprecationMessage="The Editor Scripting Utilities Plugin is deprecated - Use the function in Editor Actor Utilities Subsystem")) static void SetSelectedLevelActors ( const [TArray](API\Runtime\Core\Containers\TArray)< class [AActor](API\Runtime\Engine\GameFramework\AActor) * > & ActorsToSelect )