⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Input.Float

static float Float(InputFloat floatType)

Gets an analog float input value from the input system. These are inputs like controller triggers and grip buttons that range from 0 to 1.

   
InputFloat floatType The type of float input to retrieve.
RETURNS: float A value from 0 to 1 representing how far the input is pressed.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!