Instance methods
[](path : String) : Node
Indexer syntactic sugar for retrieving a child node by path (e.g. self["Camera3D"])
Source[]?(path : String) : Node | Nil
Safe indexer returning nil if node not found (e.g. self["Camera3D"]?)
Source_physics_process(delta : Float64) : Void
Fixed-rate physics process callback receiving delta timestep in seconds (Float64).
Source_process(delta : Float64) : Void
Per-frame process callback receiving delta timestep in seconds (Float64).
Source_ready
Lifecycle callback called when the node enters the active scene tree.
Sourceadd_child(node : Node, force_readable_name : Bool = false, internal : Int64 = 0_i64) : Void
Adds a child node with optional force_readable_name and internal mode flags
Sourceadd_sibling(sibling : Node, force_readable_name : Bool) : Void
Sourceadd_to_group(group : String, persistent : Bool) : Void
Sourceadd_to_group(group : String) : Void
Adds this node to the specified group (with default non-persistent flag)
Sourceatr(message : String, context : String) : String
Sourceatr_n(message : String, plural_message : String, n : Int64, context : String) : String
Sourceauto_translate_mode
Property auto_translate_mode getter
Sourceauto_translate_mode=(val :
Int)
Property auto_translate_mode setter
Sourceduplicate(flags : Int64) : Node
Sourceeach_child(include_internal : Bool = false, &block : Node -> Void) : Void
Yields each child node without allocating an intermediate array.
Sourceeditor_description
Property editor_description getter
Sourceeditor_description=(val)
Property editor_description setter
Sourcefind_child(pattern : String, recursive : Bool = true, owned : Bool = false) : Node | Nil
Reliable GDExtension bridge implementation of find_child with default parameters
Sourcefind_child_as(type : T.class, pattern : String, recursive : Bool = true, owned : Bool = false) : T | Nil forall T
Finds child node matching pattern and casts to T, returning nil if not found
Sourcefind_children(pattern : String, get_type : String, recursive : Bool, owned : Bool) : Godot::Array
Sourcefind_parent(pattern : String) : Node
Sourceget_accessibility_element
Sourceget_child(idx : Int64, include_internal : Bool) : Node
Sourceget_child(idx :
Int, include_internal :
Bool = false) :
Node Retrieves child at specified index
Sourceget_child?(idx :
Int, include_internal :
Bool = false) :
Node |
Nil Retrieves child at specified index, or nil if not found
Sourceget_child_as(type :
T.class, idx :
Int, include_internal :
Bool = false) :
T |
Nil forall
T Retrieves child at specified index cast to type T, or nil if not found or not matching type
Sourceget_child_count(include_internal : Bool = false) : Int64
Returns the count of children belonging to this node
Sourceget_children(include_internal :
Bool = false) :
Array(
Node)
Returns an Array containing all child nodes belonging to this node.
Sourceget_children_as(type :
T.class, include_internal :
Bool = false) :
Array(
T) forall
T Returns all children of this node matching or cast to type T.
Sourceget_index(include_internal : Bool) : Int64
Sourceget_last_exclusive_window
Sourceget_multiplayer_authority
Sourceget_node(path : String) : Node
Retrieves a child or sibling node by NodePath string.
Returns the Node if found, or produces an error if the node does not exist.
Sourceget_node(path : NodePath) : Node
Sourceget_node?(path : String) : Node | Nil
Retrieves a child or sibling node by NodePath string, or returns nil if not found.
Sourceget_node_and_resource(path : NodePath) : Godot::Array
Sourceget_node_as(type : T.class, path : String) : T forall T
Retrieves a child node cast to the specified Crystal class type T.
Returns the node cast to T, or produces an error if the node does not exist.
Sourceget_node_as?(type : T.class, path : String) : T | Nil forall T
Retrieves a child node cast to the specified Crystal class type T, or nil if not found.
Sourceget_node_or_null(path : String) : Node | Nil
Fetches a node by String path. Similar to #get_node, but returns nil if path does not point to a valid node.
Sourceget_node_or_null(path : NodePath) : Node
Sourceget_parent?
Returns the parent Node, or nil if orphan
Sourceget_parent_as(type : T.class) : T | Nil forall T
Returns the parent node cast to T, or nil if parent is not of type T or is null
Sourceget_path_to(node : Node, use_unique_path : Bool) : NodePath
Sourceget_physics_interpolation_mode
Sourceget_physics_process_delta_time
Sourceget_physics_process_priority
Sourceget_process_thread_group
Sourceget_process_thread_group_order
Sourceget_process_thread_messages
Sourceget_scene_instance_load_placeholder
Sourceget_tree
Returns the SceneTree containing this node.
Sourceget_unique_node_as(type : T.class, unique_name : String) : T | Nil forall T
Returns the scene unique node with name %unique_name cast to T
Sourcehas_node(path : NodePath) : Bool
Sourcehas_node_and_resource(path : NodePath) : Bool
Sourcein_group?(group_name : String) : Bool
Returns true if this node belongs to the given node group.
Sourceinside_tree?
Returns true if this node is currently a member of the active SceneTree.
Sourceis_ancestor_of(node : Node) : Bool
Sourceis_editable_instance(node : Node) : Bool
Sourceis_greater_than(node : Node) : Bool
Sourceis_in_group(group : String) : Bool
Sourceis_inside_tree
Returns true if the node is currently inside the active scene tree
Sourceis_multiplayer_authority
Sourceis_physics_interpolated_and_enabled
Sourceis_physics_processing_internal
Sourceis_queued_for_deletion
Checks if this node is queued for deletion
Sourcemove_child(child_node : Node, to_index : Int64) : Void
Sourcemultiplayer
Property multiplayer getter
Sourcenode_as(type : T.class, path : String) : T forall T
Shorthand for get_node_as
Sourcenode_as?(type : T.class, path : String) : T | Nil forall T
Shorthand for get_node_as?
Sourcenotify_deferred_thread_group(what : Int64) : Void
Sourcenotify_thread_safe(what : Int64) : Void
Sourceowner
Returns the scene owner node responsible for serialization packing.
Sourceowner=(o : Node | Nil)
Sets the scene owner node for serialization packing.
Sourcephysics_interpolation_mode
Property physics_interpolation_mode getter
Sourcephysics_interpolation_mode=(val :
Int)
Property physics_interpolation_mode setter
Sourceprocess_mode
Property process_mode getter
SourceProperty process_mode setter
Sourceprocess_physics_priority
Property process_physics_priority getter
Sourceprocess_physics_priority=(val :
Int)
Property process_physics_priority setter
Sourceprocess_priority
Property process_priority getter
Sourceprocess_priority=(val :
Int)
Property process_priority setter
Sourceprocess_thread_group
Property process_thread_group getter
Sourceprocess_thread_group=(val :
Int)
Property process_thread_group setter
Sourceprocess_thread_group_order
Property process_thread_group_order getter
Sourceprocess_thread_group_order=(val :
Int)
Property process_thread_group_order setter
Sourceprocess_thread_messages
Property process_thread_messages getter
Sourceprocess_thread_messages=(val :
Int)
Property process_thread_messages setter
Sourcepropagate_call(method : String, args : Godot::Array, parent_first : Bool) : Void
Sourcepropagate_notification(what : Int64) : Void
Sourcequeue_accessibility_update
Sourcequeue_free
Queues this node for deletion at the end of the current frame
Sourceremove_child(node : Node) : Void
Removes a child node from this node without freeing it
Sourceremove_from_group(group : String) : Void
Sourcereplace_by(node : Node, keep_groups : Bool) : Void
Sourcereset_physics_interpolation
Sourcerpc_config(method : String, config : Pointer(Void)) : Void
Sourcescene_file_path
Property scene_file_path getter
Sourcescene_file_path=(val)
Property scene_file_path setter
Sourceset_auto_translate_mode(mode : Int64) : Void
Sourceset_deferred_thread_group(property : String, value : Pointer(Void)) : Void
Sourceset_display_folded(fold : Bool) : Void
Sourceset_editable_instance(node : Node, is_editable : Bool) : Void
Sourceset_editor_description(editor_description : String) : Void
Sourceset_multiplayer_authority(id : Int64, recursive : Bool) : Void
Sourceset_name(name : String) : Void
Sets the name of the node safely via dynamic reflection
Sourceset_owner(owner : Node) : Void
Sourceset_physics_interpolation_mode(mode : Int64) : Void
Sourceset_physics_process(enable : Bool) : Void
Sourceset_physics_process_internal(enable : Bool) : Void
Sourceset_physics_process_priority(priority : Int64) : Void
Sourceset_process(enable : Bool) : Void
Sourceset_process_internal(enable : Bool) : Void
Sourceset_process_mode(mode : Int64) : Void
Sourceset_process_priority(priority : Int64) : Void
Sourceset_process_thread_group(mode : Int64) : Void
Sourceset_process_thread_group_order(order : Int64) : Void
Sourceset_process_thread_messages(flags : Int64) : Void
Sourceset_scene_file_path(scene_file_path : String) : Void
Sourceset_scene_instance_load_placeholder(load_placeholder : Bool) : Void
Sourceset_thread_safe(property : String, value : Pointer(Void)) : Void
Sourceset_translation_domain_inherited
Sourceset_unique_name_in_owner(enable : Bool) : Void
Sourceunique_name_in_owner
Property unique_name_in_owner getter
Sourceunique_name_in_owner=(val)
Property unique_name_in_owner setter
Sourceupdate_configuration_warnings
Source