How do I preview UI in a 3d scene while I'm editing it?

Godot Version

4.7.2

Question

Hello. I’m new to godot and just learning. I’m making a 3D game where the menus and ui will play a big role. I want to know where they’re placed in relation to the 3D world as I’m editing it

I have my pause menu in a scene, and that’s been placed in my main scene. It’s root node is a canvas layer, which google told me would make the ui visible to the camera. It does, but only when I’m running the game.

While I’m editing the game, I have to swap the scene to '2d" mode to see the ui at all. I was hoping it would at least appear when I click on the camera node and look at the camera preview, but it doesn’t.

Can someone tell me how to preview how UI looks in the 3D scene?? I need to be able to see the two together to adjust ui placement, etc. without running the game every 5 seconds.

Google has not really been helpful at all.

TLDR: I need to be able to preview my ui overlaid with my 3d world while editing. Preferably in the main screen, bound to the camera box or something. But I will settle for when the camera3D node is selected, looking at it’s preview in the sidebar.

I’d be so grateful for your help. I’m so confused and hours of googling this hasn’t helped.

I believe you can make the Game main screen embed the game into the editor when you run, then you should be able to modify the scene tree panel and inspector while watching game main screen view. This should be the default setting, so maybe you just need to dock the floating window.

Otherwise if you prefer a floating game window, you should be able to configure the game window to always be on top in the project settings. If you have multiple screens you can run the game and set it to another window while you edit the ui in the editor.