---
title: pressedInput
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcbuttonelement/pressedinput
---

# pressedInput

The input object that provides the linear and press state of the element.

## Declaration

```swift
var pressedInput: any GCLinearInput & GCPressedStateInput { get }
```

## Mentioned in

Handling input events

## See Also

### Getting input state

- [touchedInput](gamecontroller/gcbuttonelement/touchedinput.md)
