---
title: valueDidChangeHandler
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gclinearinput/valuedidchangehandler
---

# valueDidChangeHandler

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

## Declaration

```swift
var valueDidChangeHandler: ((any GCPhysicalInputElement, any GCLinearInput, Float) -> Void)? { get set }
```

## Discussion

Discussion The block’s parameters are:

## See Also

### Getting the value

- [value](gamecontroller/gclinearinput/value.md)
- [lastValueTimestamp](gamecontroller/gclinearinput/lastvaluetimestamp.md)
- [lastValueLatency](gamecontroller/gclinearinput/lastvaluelatency.md)
