UWidgetTree::TryMoveWidgetToNewTree

Attempts to move a constructed Widget to another tree. Returns true on a successful move.

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 bool TryMoveWidgetToNewTree
(
    UWidget * Widget,
    UWidgetTree * DestinationTree
)

Remarks

Attempts to move a constructed Widget to another tree. Returns true on a successful move.