Skip to main content
Glama

godot_reparent_node

Move a node to a different parent within a Godot scene while preserving its world transform. Use this tool to reorganize scene hierarchies without affecting node positioning.

Instructions

Moves a node to a new parent within the same scene, preserving its world transform.

Args:

  • node_path (string): Node to move e.g. "/root/Main/Enemy"

  • new_parent_path (string): Destination parent e.g. "/root/Main/EnemyGroup"

  • scene_path (string, optional): Scene to modify. Defaults to active scene.

  • keep_global_transform (boolean, optional): Whether to preserve world-space transform (default: true)

Returns: New node path after reparenting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_pathYesNode to reparent
new_parent_pathYesDestination parent node path
scene_pathNoScene to modify. Omit for active scene.
keep_global_transformNoPreserve world-space transform

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ricky-yosh/godot-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server