> 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/getaxis.md).

# GetAxis

*float* **GetAxis**(*string* **description**)\
*float* **GetAxis**(*int* **descriptionHash**)

## Parameters

**description**: The name of the axis, as defined in [`SetAxis()`](/cinput-reference-manual/script-reference/methods/setaxis.md).\
**descriptionHash**: The hashcode of the name of the axis, as defined in [`SetAxis()`](/cinput-reference-manual/script-reference/methods/setaxis.md).

## Returns

**float**: A value between `-1` and `1` inclusive.

## Description

Returns the value of the axis.

## Example
