# SetAxisDeadzone

*void* **SetAxisDeadzone**(*string* **axisName**, *float* **deadzone**)\
\&#xNAN;*void* **SetAxisDeadzone**(*int* **axisHash**, *float* **deadzone**)

## Parameters

**axisName**: The name of the axis you want to change the deadzone value for.\
**axisHash**: The hashcode of the name of the axis you want to change the deadzone value for.\
**deadzone**: The value to assign as the deadzone.

## Description

Sets the deadzone for the axis. This will override cInput's global [`deadzone`](https://cmonkeys.gitbook.io/cinput-reference-manual/script-reference/variables-and-properties/deadzone) value.

This value can also be set during the initial axis creation using [`SetAxis()`](https://cmonkeys.gitbook.io/cinput-reference-manual/script-reference/methods/setaxis).

## Example
