What's the difference between add_child() and add_sibling()?

Godot Version

Godot 4

Question

What’s the difference between add_child() and add_sibling()?

Add child will add node below in the hierarchy of the parent node. Add sibling will add a node aside of the current node and will share the same parent node.

2 Likes