Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · transform

transform.set

Set the local position, rotation and/or scale of entities.
scope edit:sceneidempotentnon-destructive

Params

Typed as TransformSetParams. Fields marked * are required.

entities*

list<entity>
Entities to change; each gets a Transform if it has none.
required

position

option<vec3>
Position relative to the parent.
default nullm

rotation

option<vec3>
Rotation relative to the parent, as XYZ Euler angles.
default nulldeg

scale

option<vec3>
Scale relative to the parent.
default null

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "transform.set",
  "args": {
    "entities": [
      "e_8b21"
    ],
    "position": [
      2,
      0,
      3
    ],
    "rotation": [
      0,
      45,
      0
    ]
  }
}

CLI

ara do transform.set --args '{"entities":["e_8b21"],"position":[2,0,3],"rotation":[0,45,0]}' --why "…"