summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavide Baldo <davide@baldo.me>2018-11-17 20:45:24 +0000
committerDavide Baldo <davide@baldo.me>2018-11-17 20:45:24 +0000
commitb98263013ad51391acd81532a9af593cb28a643f (patch)
treec507200a49df39c4a9a82d44341001c477d07894 /doc
parent9eb4b6d91a64661f8e2823a70f935c602f8a725a (diff)
Fixed the default value for Input.action_press() from commit 8c45282
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Input.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index bf395ee513..724e6a078d 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -17,10 +17,11 @@
</return>
<argument index="0" name="action" type="String">
</argument>
- <argument index="1" name="strength" type="float">
+ <argument index="1" name="strength" type="float" default="1.0">
</argument>
<description>
- This will simulate pressing the specified action. The strength can be used for non-boolean actions.
+ This will simulate pressing the specified action.
+ The strength can be used for non-boolean actions, it's ranged between 0 and 1 representing the intensity of the given action.
</description>
</method>
<method name="action_release">