Skip to content
Jigwright
HullForge docs

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_widgetWriteDestructive

Arguments

NameTypeDescription
namereqstringName of the widget to remove, from hf_list_widgets.
widget_blueprintreqstringWidgetBlueprint asset path.
allow_rootboolean
= false
Allow removing the root widget, which empties the hierarchy.
forceboolean
= 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.
recursiveboolean
= false
Allow removing a widget that has children. They go with it.

Nearby in UMG and UI: