---
title: isPressed
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcpressedstateinput/ispressed
---

# isPressed

A Boolean value that indicates whether the user presses the button.

## Declaration

```swift
var isPressed: Bool { get }
```

## See Also

### Getting change information

- [lastPressedStateTimestamp](gamecontroller/gcpressedstateinput/lastpressedstatetimestamp.md)
- [lastPressedStateLatency](gamecontroller/gcpressedstateinput/lastpressedstatelatency.md)
- [pressedDidChangeHandler](gamecontroller/gcpressedstateinput/presseddidchangehandler.md)
