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

# IsAxisDefined

*bool* **IsAxisDefined**(*string* **axisName**)\
\&#xNAN;*bool* **IsAxisDefined**(*int* **axisHash**)

## Parameters

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

## Returns

**bool**: Returns `true` if `axisName` or `axisHash` exists.

## Description

Use this to determine if an axis exists by the name of `axisName` or the hashcode of `axisHash`.

Note that you will probably never need to use this method unless you are a developer making a separate script/plugin and you want to make it compatible with cInput.

## Example
