UWidget::IsChildOf

Recurses up the list of parents and returns true if this widget is a descendant of the PossibleParent

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Widget.h

Include

#include "Components/Widget.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/Widget.cpp

Syntax

bool IsChildOf
(
    UWidget * PossibleParent
)

Remarks

Recurses up the list of parents and returns true if this widget is a descendant of the PossibleParent

Returns

true if this widget is a child of the PossibleParent

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss