set_trigger_box_extent
Resize a TriggerBox in Unreal Editor by setting its box collision half-extents and refreshing overlaps; marks the level dirty without saving.
Instructions
Resize a TriggerBox in the editor world by setting the unscaled half-extent of its box collision component and updating its overlaps; the level is marked dirty, not saved. Returns previous_extent, new_extent and changed. Each extent must be greater than 0.
Returns: { actor_name, component_name, previous_extent: {x, y, z}, new_extent: {x, y, z}, changed }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extent_x | Yes | Half-extent along local X in cm, greater than 0; the box is twice as long. | |
| extent_y | Yes | Half-extent along local Y in cm, greater than 0. | |
| extent_z | Yes | Half-extent along local Z in cm, greater than 0. | |
| actor_name | Yes | Object name of the TriggerBox actor in the editor world; its editor label is not matched. |