diff options
author | Nick H <62965063+SirQuartz@users.noreply.github.com> | 2021-07-02 00:02:28 -0400 |
---|---|---|
committer | Nick H <62965063+SirQuartz@users.noreply.github.com> | 2021-07-02 03:07:37 -0400 |
commit | c6f28ed62b5b24033439e6c5d8517883d93c5f53 (patch) | |
tree | 9ca907f368c8d8a7e902910580d52ec4bf333cfe /doc/classes | |
parent | eefe276a82c5ed080c10ac7c991e0348642621b2 (diff) |
Add `get_dead_zone()` method to `InputMap`
This commit adds a new method to the `InputMap`, allowing the user to get the value of an action's dead zone as a float.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/InputMap.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/InputMap.xml b/doc/classes/InputMap.xml index 0fb18d8e81..3948ab0208 100644 --- a/doc/classes/InputMap.xml +++ b/doc/classes/InputMap.xml @@ -41,6 +41,15 @@ Removes all events from an action. </description> </method> + <method name="action_get_deadzone"> + <return type="float"> + </return> + <argument index="0" name="action" type="StringName"> + </argument> + <description> + Returns a deadzone value for the action. + </description> + </method> <method name="action_get_events"> <return type="Array"> </return> |