Is there a way to change the order of global nodes/scenes in the scene tree?

Godot Version

4.3

Question

I am intending to do the same thing as the one poster of this post but mine is for scene transition. I made it global/autoload with the root node being a canvas layer with color rect and animation player as its children. The problem is that it is supposed to go on top of the UI scene which is also a canvas layer but since the transition scene is autoloaded, it is further up the hierarchy thus making it visually below the UI scene. Is there any other way to, once again, change in which order global node gets placed in the scene tree?

You can change the z-index. Nodes with higher z-inde will always be drawn above nodes with lower z-index

3 Likes

Thanks a bunch! It seems there’s no z-index for the CanvasLayer and it’s called ‘layer’ instead BUT the same idea applies. ^3^

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.