Remove Widget
Remove a widget from a Widget Blueprint and VERIFY it is gone. Refuses to take a widget's children with it unless asked, and refuses the root unless asked, because both destroy more than the name suggests.
hf_remove_widgetWriteDestructiveArguments
| Name | Type | Description |
|---|---|---|
namereq | string | Name of the widget to remove, from hf_list_widgets. |
widget_blueprintreq | string | WidgetBlueprint asset path. |
allow_root | boolean = false | Allow removing the root widget, which empties the hierarchy. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
recursive | boolean = false | Allow removing a widget that has children. They go with it. |
Related tools
Nearby in UMG and UI: