CanvasLayer not showing correctly in game

V 4.5.1

i have my camera and my ui elements setup,
in the 2d tab it is all right

but when i run the game
it will be disordered and messed up

why is that ?

here is the game when i run

This is actually the same issue as this

You are positioning the UI elements inside the pink box which is the Camera2D’s view, but the window viewport is the light purple starting at 0, 0

1 Like

so this is something natural and ok ?
or I should do something to set the pink and blue box at the same position ?

You should build your UI relative to the blue box

1 Like

thanks man