Skip to content

Commit

Permalink
Merge pull request #865 from Spartan322/4.3-fix/unhandled-picking-docs
Browse files Browse the repository at this point in the history
[4.3] Correct `Node._unhandled_picking_input` to refer to InputEvent
  • Loading branch information
Spartan322 authored Nov 15, 2024
2 parents a0eabe2 + 95c90a9 commit 2060bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<return type="void" />
<param index="0" name="event" type="InputEvent" />
<description>
Called when an [InputEventKey] hasn't been consumed by physics picking. The input event propagates up through the node tree in the current [Viewport] until a node consumes it.
Called when an [InputEvent] hasn't been consumed by physics picking. The input event propagates up through the node tree in the current [Viewport] until a node consumes it.
It is only called if unhandled picking input processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_unhandled_picking_input].
To consume the input event and stop it propagating further to other nodes, [method Viewport.set_input_as_handled] can be called.
This method can be used to handle mouse and touch events that were not set to handled during physics picking.
Expand Down

0 comments on commit 2060bec

Please sign in to comment.