Click or drag to resize

NodeMoveChild Method

Moves a child node to a different position (order) among the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void MoveChild(
	Node childNode,
	int toPosition
)

Parameters

childNode
Type: GodotNode

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

toPosition
Type: SystemInt32

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

See Also