---
title: lastEventLatency
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinputstate/lasteventlatency
---

# lastEventLatency

The time in seconds between the last event and the current time.

## Declaration

```swift
var lastEventLatency: 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. If the host goes to sleep between when the event occurs and when you get this property, the value may not be accurate.

## See Also

### Getting change information

- [lastEventTimestamp](gamecontroller/gcdevicephysicalinputstate/lasteventtimestamp.md)
