cocos_move_node
Move a node to a new parent in Cocos Creator scenes to reorganize scene hierarchies for game development.
Instructions
Re-parent a node. sibling_index=-1 appends as last child.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| new_parent_id | Yes | ||
| sibling_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |