1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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

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