Merge pull request #109552 from Calinou/doc-inputevent-is-action-type

Clarify the types `InputEvent.is_action_type()` will return `true` for
This commit is contained in:
Thaddeus Crews
2025-08-14 09:28:02 -05:00

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">