---
title: lastPressedStateLatency
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcpressedstateinput/lastpressedstatelatency
---

# lastPressedStateLatency

The time in seconds between the last press state change and the current time.

## Declaration

```swift
var lastPressedStateLatency: TimeInterval { get }
```

## Discussion

Discussion Use this property as a minimum latency value that may not include latency that accrues on the device or when it transmits the event.

## See Also

### Getting change information

- [isPressed](gamecontroller/gcpressedstateinput/ispressed.md)
- [lastPressedStateTimestamp](gamecontroller/gcpressedstateinput/lastpressedstatetimestamp.md)
- [pressedDidChangeHandler](gamecontroller/gcpressedstateinput/presseddidchangehandler.md)
