Daniel Lyons' Notes

Nodes in Godot

See Also

Methods on the Node class

_input(event: InputEvent)

See docs

Called when there is an input event. The input event propagates up through the node tree until a node consumes it.

NOTE: This method is only called if:

  1. the node is present in the scene tree (it's not an orphan)
  2. if input processing is enabled (can be toggled with set_process_input)
  3. the input has not been consumed by a prior node
Nodes in Godot
Interactive graph
On this page
See Also
Methods on the Node class
_input(event: InputEvent)