I have a 2d game that creates a grid of sprites that react to being clicked and I want it to render in a viewport that doesn't take up the whole game window. I have added a GUI toolbar to the top of the window and want the game to render below it (the GUI should not sit on top of the game). I have currently got my node tree set up as
Control
|--VSplitContainer
|----GUI (UI Scene with a control node as root)
|----SubViewportContainer
|------Subviewport
|--------Game (scene with node2d root)
It appears to be rendering how I want but for some reason the game is not reacting to input (the GUI works fine however). Anyone know how to fix this? or is there a better way to organize the scene for what I am trying to do?