2D Screens in world space


Screens and Element components rendering order depends on the order in the hierarchy and also on their assigned layers. If you have a specific desired order that you want to render things then either place them in the correct order in the hierarchy of create separate layers in your settings and assign a different layer on each screen or element.

More on layers here https://developer.playcanvas.com/en/user-manual/graphics/layers/ .

1 Like

A simple thing to try, remove the UI layer from these two entities and assign both to the World layer.

Edit: I see @yaustar already mentioned this. Go for it!