Ensure minimum modifiers are pressed when matching actions
This commit is contained in:
parent
288cdca71d
commit
ea20049afc
4 changed files with 23 additions and 13 deletions
|
|
@ -86,7 +86,7 @@
|
|||
<argument index="2" name="exact_match" type="bool" default="false" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior.
|
||||
If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
|
||||
If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_actions">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue