---
title: touchedInput
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcbuttonelement/touchedinput
---

# touchedInput

The input object that provides the touch state of the element.

## Declaration

```swift
var touchedInput: (any GCTouchedStateInput)? { get }
```

## See Also

### Getting input state

- [pressedInput](gamecontroller/gcbuttonelement/pressedinput.md)
