I noticed i input(event) stops working after i go under a viewport node in the scene tree.
I switched DisableInput in the viewports inspector on and off.
Tested the following script and as it is above the viewport it works just fine, as soon is in the viewports script or in a child of the viewports it stops working.
What exactly is the reason for this behaviour? and can i somehow work arround that? my Player.scn is a child to the viewport and i would prefer if a can handle all input for its movement inside of its own script.
if (event.type == InputEvent.MOUSE_BUTTON):