unity_gameobject_set_transform
Set the position, rotation, and scale of a GameObject in the Unity scene by hierarchy path or instance ID, with support for local or world space transforms.
Instructions
Set the transform (position, rotation, scale) of a GameObject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Hierarchy path or name | |
| instanceId | No | Instance ID (alternative) | |
| position | No | ||
| rotation | No | ||
| scale | No | ||
| local | No | If true, set local transform instead of world (default: false) | |
| port | No | Target Unity instance port for parallel-safe routing. Get this from unity_select_instance. When working with multiple Unity instances, ALWAYS include this parameter. |