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

# isPressed

A Boolean value that indicates whether the user is pressing the button.

## Declaration

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

## Discussion

Discussion If this property is true, the user is putting pressure on the button; otherwise, the user isn’t. For the DualSense, DualShock 4, and Siri Remote controllers, the framework simulates whether the user presses the button and the level of pressure for its touch surfaces.

## See Also

### Accessing input values

- [isTouched](gamecontroller/gccontrollerbuttoninput/istouched.md)
- [value](gamecontroller/gccontrollerbuttoninput/value.md)
