set_trigger_sphere_radius
Resize a TriggerSphere in the editor world by setting its unscaled sphere radius above 0, updating overlaps and marking the level dirty without saving.
Instructions
Resize a TriggerSphere in the editor world by setting the unscaled radius of its sphere collision component and updating its overlaps; the level is marked dirty, not saved. Returns previous_radius, new_radius and changed. The radius must be greater than 0.
Returns: { actor_name, component_name, previous_radius, new_radius, changed }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | Yes | New unscaled sphere radius in cm, greater than 0. | |
| actor_name | Yes | Object name of the TriggerSphere actor in the editor world; its editor label is not matched. |