modify_gameobject
Modifies an existing GameObject's transform by setting world-space position, Euler rotation, and local scale to adjust object placement and size in Unity scenes.
Instructions
Modify an existing GameObject's transform (position, rotation, scale). Position and Euler rotation are world-space; scale is local. Parenting is unchanged. Read observed for post-apply values, not the requested changes summary. Requires BanterMCPBridge extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | New scale as [x, y, z] | |
| objectId | No | Preferred: GameObject globalObjectId from scene-hierarchy.json | |
| position | No | New position as [x, y, z] | |
| rotation | No | New rotation in euler angles as [x, y, z] | |
| objectPath | No | Legacy path selector |