---
title: GCMotionValueChangedHandler
framework: gamecontroller
role: symbol
role_heading: Type Alias
path: gamecontroller/gcmotionvaluechangedhandler
---

# GCMotionValueChangedHandler

The signature for the block that the profile calls when an element’s value changes.

## Declaration

```swift
typealias GCMotionValueChangedHandler = (GCMotion) -> Void
```

## Parameters

- `motion`: The profile with the element values that change.

## See Also

### Receiving a Callback When Input Values Change

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