Browse Source

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

Hugo Locurcio 1 week ago
parent
commit
4596894c8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/InputEvent.xml

+ 1 - 1
doc/classes/InputEvent.xml

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