editor_modify_actor
Replaces a live actor's world transform (translation, orientation, scale) by actor GUID and returns updated details. Use editor_actor_details first to preserve values you do not want to change.
Instructions
Replaces an existing live actor's world transform and returns its updated details. Use editor_actor_details first to preserve transform values that should not change.
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": {
"actorId": "<actorId>",
"translation": "<translation>",
"orientation": "<orientation>",
"scale": "<scale>"
},
"name": "editor_modify_actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | Replacement world-space scale. | |
| actorId | Yes | Actor GUID from editor_scene_graph or editor_get_selection. | |
| orientation | Yes | Replacement world-space orientation quaternion. | |
| translation | Yes | Replacement world-space translation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tags | Yes | ||
| layer | Yes | ||
| sceneId | Yes | ||
| scripts | Yes | ||
| isActive | Yes | ||
| parentId | Yes | ||
| typeName | Yes | ||
| layerName | Yes | ||
| transform | Yes | ||
| mainThreadId | Yes | ||
| localTransform | Yes | ||
| isActiveInHierarchy | Yes |