---
title: GCControllerAxisValueChangedHandler
framework: gamecontroller
role: symbol
role_heading: Type Alias
path: gamecontroller/gccontrolleraxisvaluechangedhandler
---

# GCControllerAxisValueChangedHandler

The signature for the block that executes when the user changes the axis value.

## Declaration

```swift
typealias GCControllerAxisValueChangedHandler = (GCControllerAxisInput, Float) -> Void
```

## Parameters

- `axis`: The axis that the user changed.
- `value`: A normalized value for the axis ranging from -1 to 1.

## See Also

### Getting change information

- [valueChangedHandler](gamecontroller/gccontrolleraxisinput/valuechangedhandler.md)
