Documentation Index
Fetch the complete documentation index at: https://mintlify.com/godotengine/godot/llms.txt
Use this file to discover all available pages before exploring further.
Node
Inherits: ObjectDescription
Base class for all scene objects. Nodes can be assigned as children of other nodes, resulting in a tree arrangement. A tree of nodes is called a scene.Inheritance
Node < Object
Properties
The name of the node. This name must be unique among the siblings.
The node owner. A node can have any other node as owner.
Can be used to pause or unpause the node, or make the node inherit process mode from its parent.
Methods
add_child
The node to add as a child
If true, improves readability of the added node (default: false)
remove_child
get_child
get_parent
get_tree
is_inside_tree
Signals
ready()
Emitted when the node is ready, i.e., when both the node and its children have entered the scene tree.tree_entered()
Emitted when the node enters the SceneTree.tree_exited()
Emitted when the node exits the SceneTree.Example Usage
- GDScript
- C#