diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-11-10 21:35:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 21:35:07 +0100 |
commit | 8c45282d21155009e5b239b8df610661409981e6 (patch) | |
tree | 32333a0771087186fadf05ff3b3fd46f77652065 /doc | |
parent | 87d27e1250c4be1406b15244901cefb6738a6709 (diff) | |
parent | 1b0c7515ffe2bbb0cb8cb08bf9d21f68d4648d89 (diff) |
Merge pull request #23621 from workless/allow_strength_in_action_press
Allow to specify a custom strength when calling Input.action_press(),…
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Input.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 38804e40b4..25a2f45773 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -17,8 +17,10 @@ </return> <argument index="0" name="action" type="String"> </argument> + <argument index="1" name="strength" type="float" default="1.0f"> + </argument> <description> - This will simulate pressing the specified action. + This will simulate pressing the specified action. The strength can be used for non-boolean actions. </description> </method> <method name="action_release"> |