Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidget
Description
Removes the widget from its parent widget. If this widget was added to the player's screen or the viewport it will also be removed from those containers.
| Name | RemoveFromParent |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include Path | #include "Components/Widget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, Category="Widget")
virtual void RemoveFromParent()