Skip to content

Commit e67074d

Browse files
committed
Merge pull request #109552 from Calinou/doc-inputevent-is-action-type
Clarify the types `InputEvent.is_action_type()` will return `true` for
2 parents 6f298b6 + 4596894 commit e67074d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/InputEvent.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<method name="is_action_type" qualifiers="const">
6969
<return type="bool" />
7070
<description>
71-
Returns [code]true[/code] if this input event's type is one that can be assigned to an input action.
71+
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.
7272
</description>
7373
</method>
7474
<method name="is_canceled" qualifiers="const">

0 commit comments

Comments
 (0)