1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
<method name="is_action_type" qualifiers="const">
<return type="bool" />
<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>
</method>
<method name="is_canceled" qualifiers="const">