---
title: lastPressedStateTimestamp
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcpressedstateinput/lastpressedstatetimestamp
---

# lastPressedStateTimestamp

The time of the most recent press state change.

## Declaration

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

## Discussion

Discussion This property isn’t a specific date and time. To determine the time between changes, subtract a previous value from the current value.

## See Also

### Getting change information

- [isPressed](gamecontroller/gcpressedstateinput/ispressed.md)
- [lastPressedStateLatency](gamecontroller/gcpressedstateinput/lastpressedstatelatency.md)
- [pressedDidChangeHandler](gamecontroller/gcpressedstateinput/presseddidchangehandler.md)
