get_transform
Fetch an entity's world transform, including position, rotation quaternion, effective scale, and uniform/non-uniform scale components for O3DE scene inspection.
Instructions
Get the world transform of an entity.
Returns position, rotation (an [x, y, z, w] quaternion) and
scale, the effective [x, y, z] scale: the Transform's uniform
scale times the entity's Non-uniform Scale component, if it has one.
uniform_scale and non_uniform_scale (null without the
component) give the two parts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>"
},
"name": "get_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |