Is there an easy way to debug which Control recieved a Gui_input?

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

I periodically end up having to debug which control received and consumed a gui_input, and it becomes impossible if you have lots and lots of controls stacked on top of each other.

Is there an easy way to debug this in godot? especially with plugins/tool scripts?

The workaround is to attach a script to each Control, and have it print( name )… but that’s a real hassle with lots of controls

Have you tried looking at the Debugger panel, especially the Misc. tab?

Ertain | 2022-01-28 17:52

Wow! this is super useful. I did not know about this! I will definitely be using this feature

Unfortunately it doesn’t seem to work for editor extensions / tool scripts? it only works at runtime… or am I missing some setting?

rossunger | 2022-01-28 18:53

Sorry, I think the feature only works for runtime stuff. May have to suggest that on the Godot Proposals page.

Ertain | 2022-01-28 19:01