UMG Widgets
Every UMG Widgets command in CodeFizz Editor Agent, with parameters and examples.
Every UMG Widgets command in CodeFizz Editor Agent, with parameters and examples.
51 commands. Each shows its parameters and an example, and has a copyable deep link, so you (or an AI agent) can jump straight to one.
get_widget_treeGet the widget hierarchy of a Widget Blueprint
Returns the full widget hierarchy of a Widget Blueprint as a tree. Shows each widget's class, name, and nesting level. Use this before add_widget or move_widget to understand the existing structure and find valid parent_widget_name values.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
cfa get_widget_tree --widget-blueprint-path /Game/UI/WBP_MainHUDadd_widgetAdd a widget to a Widget Blueprint
Adds a new widget as a child of an existing widget in a Widget Blueprint. The parent_widget_name must be a panel widget (CanvasPanel, VerticalBox, HorizontalBox, Overlay, etc.) that supports children. Use slot_properties to set layout properties that belong to the parent's slot type (e.g., Anchors and Offsets for CanvasPanel slots, Size.Value for box slots). Use widget_properties to set properties on the widget itself (e.g., Text, ColorAndOpacity, Font). Run list_widget_types to discover available widget classes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_class | string | Yes | Widget class name |
| parent_widget_name | string | No | Parent panel name. Empty makes this the tree root. |
| widget_name | string | No | Widget name |
| index | int | No | Insert index among siblings (-1 = append) |
| is_variable | bool | No | Expose this widget as a Blueprint variable (the designer's 'Is Variable' tick) so it can be referenced in graphs / bound to events. Available after the implicit compile. |
| slot_properties | json | No | JSON object of slot properties |
| widget_properties | json | No | JSON object of widget properties |
cfa add_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-class TextBlock --parent-widget-name RootCanvas --widget-name "TitleText" --widget-properties '{"Text":"Hello World"}'
cfa add_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-class Image --parent-widget-name MainOverlay --slot-properties '{"Padding":{"Left":10,"Top":5,"Right":10,"Bottom":5}}'
cfa add_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-class VerticalBox --parent-widget-name RootCanvas --widget-name "LeftPanel" --slot-properties '{"LayoutData":{"Anchors":{"Minimum":{"X":0,"Y":0},"Maximum":{"X":0.3,"Y":1}}}}'remove_widgetRemove a widget from a Widget Blueprint
Removes a widget and all its children from a Widget Blueprint. The widget is identified by name. Use get_widget_tree to find the exact widget name before removing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget name to remove |
| widget_object_path | string | No | Optional object path override for cross-asset addressing |
cfa remove_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name TitleTextmove_widgetMove a widget to a new parent
Reparents a widget (and all its children) to a new parent widget within the same Widget Blueprint. The new parent must be a panel widget that supports children. Use index to control insertion order among siblings (-1 appends to end).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget name |
| new_parent_name | string | Yes | New parent widget name |
| index | int | No | Insert index (-1 = append) |
cfa move_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name TitleText --new-parent-name HeaderBox
cfa move_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name StatusPanel --new-parent-name RootCanvas --index 0rename_widgetRename a widget
Renames a widget within a Widget Blueprint. Updates all internal references to use the new name. The new name must be unique within the blueprint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Current widget name |
| new_name | string | Yes | New widget name |
cfa rename_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name TextBlock_0 --new-name HealthLabelduplicate_widgetDuplicate a widget
Creates a copy of a widget and all its children. The duplicate is placed under the same parent by default, or under a different parent if parent_widget_name is specified. Useful for creating repeated UI elements like list items or grid cells.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget name to duplicate |
| new_name | string | No | New widget name |
| parent_widget_name | string | No | Parent widget name |
| index | int | No | Insert index in the parent (-1 = append) |
cfa duplicate_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name ItemSlot --new-name ItemSlot2
cfa duplicate_widget --widget-blueprint-path /Game/UI/WBP_MainHUD --widget-name ResourceRow --new-name OreRow --parent-widget-name ResourceListcreate_widget_blueprintCreate a new Widget Blueprint asset
Creates a new Widget Blueprint (UMG) asset from a UserWidget parent class. Optionally seeds a root panel widget (e.g. CanvasPanel) so add_widget can immediately target it as a parent.
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | Destination folder, e.g. /Game/Demo |
| name | string | Yes | Asset name, e.g. DemoWidgetTest |
| parent_class | string | No | Parent UserWidget class (default UserWidget) |
| root_widget_class | string | No | Optional root panel widget class to seed (e.g. CanvasPanel) |
cfa create_widget_blueprint --path /Game/Demo --name DemoWidgetTest --root-widget-class CanvasPanel
cfa create_widget_blueprint --path /Game/UI --name WBP_Menu --parent-class UserWidgetlist_widget_typesList available widget types
Lists all UWidget subclasses available for use with add_widget. Use filter to search by class name. Set panels_only=true to see only panel widgets (CanvasPanel, VerticalBox, HorizontalBox, Overlay, etc.) that can contain children and serve as parent_widget_name values.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | No | Filter by type name |
| include_abstract | bool | No | Include abstract classes |
| panels_only | bool | No | Show only panel widgets |
cfa list_widget_types
cfa list_widget_types --filter "Text"
cfa list_widget_types --panels-onlywrap_widgetWrap a widget in a new panel
Wraps a widget inside a newly-constructed panel (Border, SizeBox, Overlay, etc.) placed where the widget was; the widget becomes the wrapper's child.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget to wrap |
| wrapper_class | string | Yes | Panel class to wrap it in |
cfa wrap_widget --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --wrapper-class Borderreplace_widgetReplace a widget with another class
Replaces a widget with a new widget of another class, carrying its children over when both are panels. The name and references are preserved.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget to replace |
| new_class | string | Yes | New widget class |
cfa replace_widget --widget-blueprint-path /Game/UI/WBP_Menu --widget-name MainBox --new-class HorizontalBoxset_root_widgetSet the tree root widget
Makes a new or existing widget the root of the Widget Blueprint's tree. Provide widget_class to construct a new root, or widget_name to promote an existing widget.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_class | string | No | Class to construct as the new root (OR widget_name) |
| widget_name | string | No | Existing widget to make root (OR widget_class) |
cfa set_root_widget --widget-blueprint-path /Game/UI/WBP_Menu --widget-class CanvasPanelget_widget_propertiesRead a widget's properties
Reads a widget's properties: all of them, filtered by name, or a single dotted/indexed property path (e.g. Brush.TintColor, Tags[0]).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
| property_path | string | No | Read one dotted/indexed path instead of all |
| filter | string | No | Lower-case substring filter on names (reading all) |
| widget_object_path | string | No | Optional object path override |
cfa get_widget_properties --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --property-path Textset_widget_propertiesSet a widget's properties (faithful)
Faithfully sets widget properties from a JSON key->value map (scalars, structs, arrays), firing the editor change pipeline so the result is identical to a Details-panel edit.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
| properties | json | Yes | JSON object of property name->value |
| widget_object_path | string | No | Optional object path override |
cfa set_widget_properties --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --properties '{"Text":"Score","ColorAndOpacity":{"SpecifiedColor":{"R":1,"G":0,"B":0,"A":1}}}'get_slot_propertiesRead a widget's slot (layout) properties
Reads the panel-slot (layout) properties of a widget, anchors, offsets, padding, alignment, size, depending on the parent panel's slot type.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget whose slot is read |
| filter | string | No | Lower-case substring filter on names |
cfa get_slot_properties --widget-blueprint-path /Game/UI/WBP_Menu --widget-name MainBoxset_slot_propertiesSet a widget's slot (layout) properties (faithful)
Faithfully sets the panel-slot (layout) properties of a widget (anchors, offsets, padding, alignment). For CanvasPanel slots the live anchors/offsets are synchronized exactly like the designer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget whose slot is set |
| properties | json | Yes | JSON object of slot property name->value |
| filter | string | No | Unused on set (shared param) |
cfa set_slot_properties --widget-blueprint-path /Game/UI/WBP_Menu --widget-name MainBox --properties '{"Padding":{"Left":10,"Top":5,"Right":10,"Bottom":5}}'set_widget_is_variableToggle a widget's Is Variable flag
Sets whether a widget is exposed as a Blueprint variable (the designer's 'Is Variable' tick) so it can be referenced in graphs and bound to events.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
| is_variable | bool | No | Expose as a Blueprint variable |
cfa set_widget_is_variable --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --is-variable trueget_widget_class_infoDescribe a widget class
Returns a widget class's parent, whether it is a panel, abstract flag, and (for panels) the UPanelSlot class it creates for children.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_class | string | Yes | Widget class (short/U-name/path/content path) |
cfa get_widget_class_info --widget-class VerticalBoxset_widget_blueprint_parentReparent a Widget Blueprint
Reparents a Widget Blueprint onto a new UserWidget base class and recompiles.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| parent_class | string | Yes | New parent UserWidget class |
cfa set_widget_blueprint_parent --widget-blueprint-path /Game/UI/WBP_Menu --parent-class /Game/UI/WBP_BaseMenulist_named_slotsList the Widget Blueprint's named slots
Lists the NamedSlot widgets in the Widget Blueprint's tree and the widget currently placed in each.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | No | Unused (shared param) |
cfa list_named_slots --widget-blueprint-path /Game/UI/WBP_Menuget_named_slot_contentGet a named slot's content
Returns the widget currently placed in a NamedSlot (identified by slot_name) in the Widget Blueprint's tree.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | No | Unused (shared param) |
| slot_name | string | Yes | NamedSlot widget name |
| content_widget_name | string | No | Unused on get (shared param) |
| content_widget_class | string | No | Unused on get (shared param) |
cfa get_named_slot_content --widget-blueprint-path /Game/UI/WBP_Menu --slot-name ExtraSlotset_named_slot_contentPlace a widget in a named slot
Places an existing widget (content_widget_name) or a newly-constructed widget (content_widget_class) into a NamedSlot (identified by slot_name) in the Widget Blueprint's tree.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | No | Unused (shared param) |
| slot_name | string | Yes | NamedSlot widget name |
| content_widget_name | string | No | Existing widget to place (OR content_widget_class) |
| content_widget_class | string | No | Class to construct into the slot (OR content_widget_name) |
cfa set_named_slot_content --widget-blueprint-path /Game/UI/WBP_Menu --slot-name ExtraSlot --content-widget-class TextBlockclear_named_slotClear a named slot
Removes the content from a NamedSlot (identified by slot_name) in the Widget Blueprint's tree.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | No | Unused (shared param) |
| slot_name | string | Yes | NamedSlot widget name |
| content_widget_name | string | No | Unused on clear (shared param) |
| content_widget_class | string | No | Unused on clear (shared param) |
cfa clear_named_slot --widget-blueprint-path /Game/UI/WBP_Menu --slot-name ExtraSlotadd_property_bindingBind a widget property to a function (legacy)
Adds a legacy property binding: the widget's property reads its value from a Blueprint function each frame (the designer's 'Bind' dropdown).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget owning the property |
| property_name | string | Yes | Property to bind (e.g. Text) |
| function_name | string | Yes | Blueprint function returning the value |
cfa add_property_binding --widget-blueprint-path /Game/UI/WBP_HUD --widget-name HealthText --property-name Text --function-name GetHealthTextremove_property_bindingRemove a legacy property binding
Removes a legacy property binding from a widget.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Widget owning the binding |
| property_name | string | Yes | Property whose binding to remove |
cfa remove_property_binding --widget-blueprint-path /Game/UI/WBP_HUD --widget-name HealthText --property-name Textlist_property_bindingsList legacy property bindings
Lists all legacy property bindings on a Widget Blueprint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
cfa list_property_bindings --widget-blueprint-path /Game/UI/WBP_HUDlist_widget_eventsList a widget's event delegates
Lists a widget's BlueprintAssignable multicast event delegates (e.g. OnClicked, OnHovered) that can be bound in the event graph.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
cfa list_widget_events --widget-blueprint-path /Game/UI/WBP_Menu --widget-name PlayButtonadd_ui_componentAdd a UI component to a widget (UE 5.8+)
Adds a UUIComponent of the given class to a widget. UE 5.8 only; returns an error on 5.6/5.7.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
| component_class | string | Yes | UUIComponent subclass |
cfa add_ui_component --widget-blueprint-path /Game/UI/WBP_Menu --widget-name PlayButton --component-class MyUIComponentremove_ui_componentRemove a UI component from a widget (UE 5.8+)
Removes a UUIComponent of the given class from a widget. UE 5.8 only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
| component_class | string | Yes | UUIComponent subclass to remove |
cfa remove_ui_component --widget-blueprint-path /Game/UI/WBP_Menu --widget-name PlayButton --component-class MyUIComponentlist_ui_componentsList a widget's UI components (UE 5.8+)
Lists the UUIComponent classes attached to a widget. UE 5.8 only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Target widget |
cfa list_ui_components --widget-blueprint-path /Game/UI/WBP_Menu --widget-name PlayButtoncreate_widget_animationCreate a UMG animation
Creates a UWidgetAnimation (and its MovieScene) on a Widget Blueprint with the given length.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| name | string | Yes | Animation name |
| duration | float | No | Length in seconds |
cfa create_widget_animation --widget-blueprint-path /Game/UI/WBP_Menu --name FadeIn --duration 0.5list_widget_animationsList a Widget Blueprint's animations
Lists each animation's name, start/end time, and bound widget names.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
cfa list_widget_animations --widget-blueprint-path /Game/UI/WBP_Menuremove_widget_animationRemove a UMG animation
Removes a named animation from a Widget Blueprint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| name | string | Yes | Animation name |
cfa remove_widget_animation --widget-blueprint-path /Game/UI/WBP_Menu --name FadeInadd_animation_widget_bindingBind a widget to an animation
Adds a MovieScene possessable + FWidgetAnimationBinding so an animation can target a widget.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| animation_name | string | Yes | Animation that targets the widget |
| widget_name | string | Yes | Widget to bind |
cfa add_animation_widget_binding --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeIn --widget-name TitleTextremove_animation_widget_bindingRemove a widget binding from an animation
Removes a widget's possessable + binding from an animation.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| animation_name | string | Yes | Animation name |
| widget_name | string | Yes | Bound widget |
cfa remove_animation_widget_binding --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeIn --widget-name TitleTextadd_animation_trackAdd a track to an animation
Adds a real MovieScene track (Opacity=RenderOpacity, Transform=RenderTransform, Color=ColorAndOpacity) bound to a widget on an animation. The widget must already be bound via add_animation_widget_binding.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| animation_name | string | Yes | Animation name |
| widget_name | string | Yes | Bound widget the track animates |
| track_type | string | Yes | Opacity | Transform | Color |
cfa add_animation_track --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeIn --widget-name TitleText --track-type Opacityadd_animation_keyAdd a keyframe to an animation track
Adds a keyframe at a time (seconds) with a value on a track's channel. Transform channels: TranslationX/TranslationY/ScaleX/ScaleY/ShearX/ShearY/Angle; Color: R/G/B/A; Opacity ignores channel.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| animation_name | string | Yes | Animation name |
| widget_name | string | Yes | Bound widget |
| track_type | string | Yes | Opacity | Transform | Color |
| time | float | Yes | Key time in seconds |
| value | float | Yes | Key value |
| channel | string | No | Channel for Transform/Color tracks |
cfa add_animation_key --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeIn --widget-name TitleText --track-type Opacity --time 0 --value 0
cfa add_animation_key --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeIn --widget-name TitleText --track-type Transform --time 1.0 --value 200 --channel TranslationYlist_animation_tracksList an animation's tracks
Lists each track on an animation: bound widget, track type/property, section range, and per-channel key counts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| animation_name | string | Yes | Animation name |
cfa list_animation_tracks --widget-blueprint-path /Game/UI/WBP_Menu --animation-name FadeInadd_viewmodelAdd an MVVM viewmodel
Adds a viewmodel context to a Widget Blueprint's MVVM view. Requires the ModelViewViewModel plugin (auto-enabled by this plugin).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| view_model_class | string | Yes | Viewmodel class (short/U-name/path/content path) |
| name | string | No | Optional context name (auto-derived if empty) |
cfa add_viewmodel --widget-blueprint-path /Game/UI/WBP_Menu --viewmodel-class /Game/UI/VM_Menu --name Menuremove_viewmodelRemove an MVVM viewmodel
Removes a viewmodel context by name.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| view_model_name | string | Yes | Viewmodel context name |
cfa remove_viewmodel --widget-blueprint-path /Game/UI/WBP_Menu --viewmodel-name Menurename_viewmodelRename an MVVM viewmodel
Renames a viewmodel context.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| view_model_name | string | Yes | Current context name |
| new_name | string | Yes | New context name |
cfa rename_viewmodel --widget-blueprint-path /Game/UI/WBP_Menu --viewmodel-name Menu --new-name MainMenulist_viewmodelsList MVVM viewmodels
Lists viewmodel contexts (name/class/id/creation-type).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
cfa list_viewmodels --widget-blueprint-path /Game/UI/WBP_Menuadd_mvvm_bindingAdd an MVVM binding
Binds a viewmodel property to a widget property. Auto-inserts a conversion function when types differ (e.g. FString->FText). Modes: OneTimeToDestination, OneWayToDestination (default), TwoWay, OneWayToSource. Execution: Immediate, Delayed, Tick, Auto.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Destination widget |
| widget_property | string | Yes | Destination property |
| view_model_name | string | Yes | Source viewmodel context |
| view_model_property | string | Yes | Source property |
| binding_mode | string | No | Binding mode (default OneWayToDestination) |
| execution_mode | string | No | Immediate, Delayed, Tick, Auto (default: project default) |
| conversion_function | string | No | Explicit conversion function (e.g. Conv_IntToText); overrides auto-detection |
| auto_convert | bool | No | Auto-insert a conversion when types differ (default true) |
| enabled | bool | No | Binding enabled at runtime (default true) |
cfa add_mvvm_binding --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --widget-property Text --viewmodel-name Menu --viewmodel-property Titleset_mvvm_bindingModify an MVVM binding
Modifies an existing binding by id: binding mode, execution mode (Immediate/Delayed/Tick/Auto/Default), conversion function (name or None/Clear), enabled, compile.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| binding_id | string | Yes | Binding id (FGuid string) |
| binding_mode | string | No | Binding mode |
| execution_mode | string | No | Immediate, Delayed, Tick, Auto, or Default to clear override |
| conversion_function | string | No | Conversion function name, or None/Clear to remove |
| enabled | bool | No | Enable/disable the binding |
| compile | bool | No | Whether the binding compiles and runs |
cfa set_mvvm_binding --widget-blueprint-path /Game/UI/WBP_Menu --binding-id <guid> --execution-mode Ticklist_mvvm_conversion_functionsList MVVM conversion functions
Lists valid conversion functions for a source viewmodel property -> destination widget property type pair, and whether the types are directly compatible.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| widget_name | string | Yes | Destination widget |
| widget_property | string | Yes | Destination property |
| view_model_name | string | Yes | Source viewmodel context |
| view_model_property | string | Yes | Source property |
cfa list_mvvm_conversion_functions --widget-blueprint-path /Game/UI/WBP_Menu --widget-name TitleText --widget-property Text --viewmodel-name Menu --viewmodel-property Scoreset_viewmodel_settingsSet viewmodel settings
Sets viewmodel context settings: creation type (Manual/CreateInstance/GlobalViewModelCollection/PropertyPath/Resolver/Context), public getter/setter, optional, expose-in-editor, global identifier/property path.
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| view_model_name | string | Yes | Viewmodel context name |
| creation_type | string | No | Manual, CreateInstance, GlobalViewModelCollection, PropertyPath, Resolver, Context |
| global_view_model_identifier | string | No | Global identifier (GlobalViewModelCollection) |
| view_model_property_path | string | No | Property path (PropertyPath creation type) |
| create_public_setter | bool | No | Generate a public setter |
| create_public_getter | bool | No | Generate a public getter |
| optional | bool | No | Do not warn if instance missing |
| expose_instance_in_editor | bool | No | Expose instance per-widget for editing |
| global_collection_update | bool | No | Auto-update from global collection |
cfa set_viewmodel_settings --widget-blueprint-path /Game/UI/WBP_Menu --viewmodel-name Player --creation-type CreateInstance --create-public-getter trueset_variable_field_notifySet variable Field Notify
Enables/disables Field Notify on a Blueprint member variable. Required for a viewmodel property to broadcast changes and drive reactive MVVM bindings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| blueprint_path | string | Yes | Blueprint owning the variable |
| variable_name | string | Yes | Member variable name |
| enabled | bool | No | Enable (true) or disable (false) Field Notify |
cfa set_variable_field_notify --blueprint-path /Game/UI/VM_Player --variable-name Health --enabled trueremove_mvvm_bindingRemove an MVVM binding
Removes an MVVM binding by its id (FGuid).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
| binding_id | string | Yes | Binding id (FGuid string) |
cfa remove_mvvm_binding --widget-blueprint-path /Game/UI/WBP_Menu --binding-id <guid>list_mvvm_bindingsList MVVM bindings
Lists MVVM bindings (id/source/destination/mode).
| Parameter | Type | Required | Description |
|---|---|---|---|
| widget_blueprint_path | string | Yes | Widget Blueprint path |
cfa list_mvvm_bindings --widget-blueprint-path /Game/UI/WBP_Menu