Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetTree
Description
Searches recursively through the children of the given ParentWidget to find a child widget of the given name. If successful, also gets the index the child ultimately occupies within the starting ParentWidget (INDEX_NONE otherwise)
| Name | FindWidgetChild |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h |
| Include Path | #include "Blueprint/WidgetTree.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetTree.cpp |
static UWidget * FindWidgetChild
(
UPanelWidget * ParentWidget,
FName ChildWidgetName,
int32 & OutChildIndex
)