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.
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user