summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-30 00:07:49 +0200
committerGitHub <noreply@github.com>2019-07-30 00:07:49 +0200
commit14e3d29f0c371dff734e7da9b6fcb49c7d367606 (patch)
tree2bfcd137b254d9a8c52c49efdbba2b2406f7ed86
parentd15090e2756dc0c8df83767dc08bb62b4bdb6a14 (diff)
parent7e329a7251b603c3d46da2456d687754547c5793 (diff)
Merge pull request #30890 from KoBeWi/how_to_action
Clarify is_action_pressed() for multiple assigned buttons
-rw-r--r--doc/classes/Input.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index f938cd0757..91ebcd52f6 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -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">