How to move UI area

Godot Version

4.2.2

Question

I’m adding UI elements to my project and made a CanvasLayer as a Camera’s children, to follow it and it works fine, however, in the editor, the UI elements must be placed in the viewport rectangle, which makes it rather awkward to place correctly and see like in the game view, since the camera view rectangle is in a different position.

Is it possible to somehow move the UI (the viewport(?), even though I don’t stick Canvas to it) to correctly resemble it’s placement in camera view?

Before I was using Unity, if it gives any context for anyone for what I want to achieve.

The CanvasLayer doesnt have to be a child of the camera. You can make it a child of the game scene and then it will still be displayed in your camera, while being inside the game-view-rectangle. You can also just move the camera above the game-view-window