GetAxisDeadzone

float GetAxisDeadzone(string description) float GetAxisDeadzone(int descriptionHash)

Parameters

description: The name of the axis, as defined in SetAxis(). descriptionHash: The hashcode of the name of the axis, as defined in SetAxis().

Returns

float: The deadzone value for the axis.

Description

Returns the deadzone value for the axis. You can change this value with SetAxisDeadzone().

This is provided as a way to present the player with a UI to display and change the deadzone settings.

Example

Last updated