reparent_entity
Move an entity to a new parent in the hierarchy, optionally setting its child index or preserving world transform to maintain position.
Instructions
Move an entity to a new parent in the hierarchy, optionally at a specific child index. Set preserveTransform=true to keep the entity at the same world position after moving. Returns the moved entity summary (including its new hierarchy path). When NOT to use: to change position/rotation values directly (use modify_entities).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Entity ID | |
| index | No | Insertion index among the parent's children | |
| parent | Yes | New parent entity resource_id | |
| preserveTransform | No | Keep the same world transform after reparenting |