Need advice on structuring my nodes for a 2d gui driven game with physics

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By xdfo

Hi,
I am doing a bunch of Godot research and tutorials, but I am honestly completely lost on viewports, input capturing etc

So I’m doing a gui-driven 2d project, where the player can place physics objects and interact with the 2d world that has a camera2d and some pop up guis.

I am honestly completely stuck on how to structure the main scene nodes to enable the above spec.

As of right now I have the mouse input on a player 2d node, but I’m getting strange offsets when I try to drag out selections. So I figured maybe I should ask to see if I can get a better knowledge foundation. Like should my mouse input maybe be on the top node? Do I need a viewport? etc