Clarify the types InputEvent.is_action_type() will return true for

This commit is contained in:
Hugo Locurcio 2025-08-12 19:15:46 +02:00
parent ca452113d4
commit 4596894c8e
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -68,7 +68,7 @@
<method name="is_action_type" qualifiers="const"> <method name="is_action_type" qualifiers="const">
<return type="bool" /> <return type="bool" />
<description> <description>
Returns [code]true[/code] if this input event's type is one that can be assigned to an input action. Returns [code]true[/code] if this input event's type is one that can be assigned to an input action: [InputEventKey], [InputEventMouseButton], [InputEventJoypadButton], [InputEventJoypadMotion], [InputEventAction]. Returns [code]false[/code] for all other input event types.
</description> </description>
</method> </method>
<method name="is_canceled" qualifiers="const"> <method name="is_canceled" qualifiers="const">