editor_reparent_actor
Moves a loaded actor to a new loaded parent or scene root while recording Undo/Redo history, with an explicit choice to preserve or reset its world transform.
Instructions
Moves a loaded actor to another loaded parent or to a loaded scene root through Undo/Redo history. Set exactly one of sceneId or parentId and explicitly choose whether to preserve the world transform.
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>",
"sceneId": "<sceneId>",
"parentId": "<parentId>",
"preserveWorldTransform": "<preserveWorldTransform>"
},
"name": "editor_reparent_actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | Yes | Actor GUID from editor_scene_graph. | |
| sceneId | Yes | ||
| parentId | Yes | ||
| preserveWorldTransform | Yes |
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 |