# Editor/Outliner cant get Child-Actor via selection notifier?

**URL:** <https://forums.unrealengine.com/t/editor-outliner-cant-get-child-actor-via-selection-notifier/1416835>\
**Category:** Editor Scripting\
**Tags:** child-actors, world-outliner, unreal-engine, selection, question\
**Created:** [November 24, 2023, 11:49am UTC](https://forums.unrealengine.com/t/editor-outliner-cant-get-child-actor-via-selection-notifier/1416835 "2023-11-24T11:49:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy2222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andy2222](https://forums.unrealengine.com/u/Andy2222)\
**Post date:** [November 24, 2023, 11:49am UTC](https://forums.unrealengine.com/t/editor-outliner-cant-get-child-actor-via-selection-notifier/1416835/1 "2023-11-24T11:49:16Z")

</div>

We want to react on the Outliner selection while PIE, this works for normal actors, but not for Child-Actors spawned via a ChildActorComponent.  
The Child-Actor “seems” select-able via PIE/Outliner, tooltip hover info is also shown for the object. The selection indicator also highlight the actor, while details is empty and can only be show via the actual ChildActorComponent selction.

We just want the reference to the actual Child-Actor, selected via the Outliner.

Neither of the callback methods work, the callback will trigger for the selection, but the selection itself is empty.

**via FLevelEditorModule**

```auto
FLevelEditorModule& LevelEditorModule = ModuleManager::GetModuleChecked<FLevelEditorModule>("LevelEditor");
	LevelEditorModule.OnActorSelectionChanged().AddUObject(this, &UCustomGameInstance::HandleOnActorSelectionChanged);

```

```auto
void HandleOnActorSelectionChanged(const TArray<UObject*>& NewSelection, bool bForceRefresh)
{
// NewSelection is empty for ChildActor Outliner selection
}

```

**via USelection**

```auto
OnSelectionChangedDelegateHandle = Selection::SelectionChangedEvent.AddUObject(this, &OnSelectionChanged);

```
