Apparently, I misunderstood you, sorry.
Without overwriting _input() or _unhandled_input() or any of the other input event functions, that are available for nodes, you can connect to the following signals , that are provided by specialized nodes, in order to get notified, when a different node receives an InputEvent:
- Window.window_input() (All types of input events)
- Control.gui_input() (not InputEventMidi and not InputEventShortcut)
- CollisionObject2D.input_event() (only InputEventMouse, InputEventScreenDrag and InputEventScreenTouch)
- CollisionObject3D.input_event() (only InputEventMouse, InputEventScreenDrag and InputEventScreenTouch)
Here is a complete overview:
