Z-Index

I noticed that you recomend to move stuff around in the tree structure to decide what draws ontop of what, explaining it sees from bottom up.

Why not use Z-Index instead to decide what is ontop of what? Is there a drawback to Z-Index?

Not really - I just prefer being able to visualise it easily by glancing at the Scenetree.

(That said, Godot loads nodes in Scenetree in order from top to bottom, so if you need a node to load early but appear on top of a later node, you’d need Z-index)

Privacy & Terms