How to debug _unhandled_input()?

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

Hello, At some unknown point of time in my project I changed/added something that caused a previously working _unhandled_input() to stop being triggered on the desired unhandled input.
However, I can’t seem to find what exactly is handling the input to cause this to happen. I think I’ve tried the obvious things (disabling UI elements, commenting out other uses of input functions.)
Is there a way to determine what precisely is using up the input?

Thanks :slight_smile:

:bust_in_silhouette: Reply From: Ertain

Here’s a way to find the last Control clicked, or even what could be consuming the input. Run the game, then go to the Debugger panel and click over to Misc. This should show the Control clicked, as well as its type (screenshot).

Debugger pane with the Control nodes that were clicked.

Hope this helps.

So simple, amazing. Thank you.

smxham | 2021-09-18 12:49