Click or drag to resize

NodeGetChild Method (Int32)

Returns a child node by its index (see GetChildCount). This method is often used for iterating all children of a node.

To access a child node via its name, use GetNode(NodePath).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Node GetChild(
	int idx
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.Node.GetChild(System.Int32)"]

Return Value

Type: Node

[Missing <returns> documentation for "M:Godot.Node.GetChild(System.Int32)"]

See Also