From 5016ef6fe0a26f1d612bd79c33a2e9d1479a5c7a Mon Sep 17 00:00:00 2001 From: Guilherme Felipe Date: Thu, 4 Oct 2018 21:15:42 -0300 Subject: [PATCH] [Docs] Add doc for Input::get_action_strength --- doc/classes/Input.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 338d01ae5f3..10ec15b99d9 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -55,6 +55,7 @@ + Returns a value between 0 and 1 representing the intensity of the given action. In a joypad, for example, the further away the axis (analog sticks or L2, R2 triggers) is from the dead zone, the closer the value will be to 1. If the action is mapped to a control that has no axis as the keyboard, the value returned will be 0 or 1.