set_grid_slot_properties
Configure a widget's UGridSlot row, column, spans, alignment, padding, layer, and nudge when parented under a GridPanel. Reapplying identical values is idempotent.
Instructions
Configure a widget's UGridSlot layout (row/column/spans/alignment/padding/layer/nudge). Applies when the widget is parented under a GridPanel (create one with add_widget_extended widget_type="GridPanel"). Setting the same values again is idempotent.
Returns: { widget_bp_path: string, widget_name: string, slot_type: string, settings_applied: object, applied_count: int, saved: bool, save_error: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | Optional int row index of the cell | |
| force | No | Optional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk. | |
| layer | No | Optional int draw/hit-test layer offset (positive draws on top). | |
| nudge | No | Optional [X, Y] content offset. | |
| column | No | Optional int column index of the cell | |
| padding | No | Optional [Left, Top, Right, Bottom] floats. | |
| row_span | No | Optional int number of rows this slot spans | |
| column_span | No | Optional int number of columns this slot spans | |
| widget_name | Yes | name of the child widget whose grid slot to edit | |
| blueprint_name | No | Alias of `widget_bp_path` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `widget_bp_path`. | |
| widget_bp_path | No | /Game path of the Widget Blueprint asset | |
| vertical_alignment | No | Optional alignment: Fill | Top | Center | Bottom | |
| horizontal_alignment | No | Optional alignment: Fill | Left | Center | Right |