/Engine/Source/Editor/LevelEditor/Public/LevelEditorSubsystem.h
Get the selection set for the current world, you can use this to track and create changes to the level editor's selection
[UTypedElementSelectionSet](API\Runtime\TypedElementRuntime\Elements\Framework\UTypedElementSelectionSet) * GetSelectionSet()