> For the complete documentation index, see [llms.txt](https://cmonkeys.gitbook.io/cinput-reference-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmonkeys.gitbook.io/cinput-reference-manual/script-reference/methods/setaxisdeadzone.md).

# SetAxisDeadzone

*void* **SetAxisDeadzone**(*string* **axisName**, *float* **deadzone**)\
*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`](/cinput-reference-manual/script-reference/variables-and-properties/deadzone.md) value.

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

## Example
