UWidgetTree::FindWidgetParent

Gets the parent widget of a given widget, and potentially the child index.

Choose your operating system:

Windows

macOS

Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h

Include

#include "Blueprint/WidgetTree.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetTree.cpp

Syntax

static UPanelWidget * FindWidgetParent
(
    UWidget * Widget,
    int32 & OutChildIndex
)

Remarks

Gets the parent widget of a given widget, and potentially the child index.