UWidgetTree::RemoveWidget

Removes the widget from the hierarchy and all sub widgets.

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

bool RemoveWidget
(
    UWidget * Widget
)

Remarks

Removes the widget from the hierarchy and all sub widgets.