set_transform_gizmo
Set the transform gizmo mode, coordinate space, and snapping in the viewport. Only provided settings are updated, leaving others unchanged.
Instructions
Set the viewport transform gizmo: mode (translate/rotate/scale/resize), coordinate space (world/local), and/or snapping. Only the provided fields change. Returns the resulting { mode, space }. When NOT to use: to actually move/rotate/scale an entity (use modify_entities on its transform).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Transform gizmo mode | |
| snap | No | Enable or disable grid/angle snapping | |
| space | No | Coordinate space the gizmo operates in |