Can anyone explain to me unhandled input and handled input?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bluegamepoy
:warning: Old Version Published before Godot 3 was released.

I dont understand the explanation for unhandled input. Can anyone give me examples of practical use for unhandled input?

:bust_in_silhouette: Reply From: Zylann

All input functions are explained here in the doc: http://docs.godotengine.org/en/stable/tutorials/engine/inputevent.html?highlight=_unhandled_input#how-does-it-work

_input is called anyways.

_input_event is called on Controls (like clicking on a button or typing text in a box)

_unhandled_input is called if none of the above capture the event, typically used in the game world itself. So for example, pressing [space] in a text box won’t make your character jump if it uses that function.

Got it, thanks for the answer.

bluegamepoy | 2017-03-01 14:29

Link is broken, can you please update it? I couldn’t find where the documentation moved to

imbenzenker | 2022-09-03 15:51