Handling Unhandled Input Events under Spatial > Node2D

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

So I’m trying to get the unhandled input events using Node2D while it’s under Spatial scene root and I think I’m doing this wrong.

Apparently, using the function _unhandled_input(event) doesn’t work when Node2D is not the scene root. Are there any other choice other than using _input(event)?

EDIT: I’m trying to use Node2D as Control GUI of my 3D game, btw. That’s why it’s under Spatial. So lemme know if I shouldn’t do that.