Merge pull request #30890 from KoBeWi/how_to_action

Clarify is_action_pressed() for multiple assigned buttons
This commit is contained in:
Rémi Verschelde 2019-07-30 00:07:49 +02:00 committed by GitHub
commit 14e3d29f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@
<argument index="0" name="action" type="String">
</argument>
<description>
Returns [code]true[/code] if you are pressing the action event.
Returns [code]true[/code] if you are pressing the action event. Note that if an action has multiple buttons asigned and more than one of them is pressed, releasing one button will release the action, even if some other button assigned to this action is still pressed.
</description>
</method>
<method name="is_joy_button_pressed" qualifiers="const">