---
title: button
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gccontrollertouchpad/button
---

# button

The element that represents the button component on the touchpad.

## Declaration

```swift
var button: GCControllerButtonInput { get }
```

## See Also

### Getting the subelements

- [touchSurface](gamecontroller/gccontrollertouchpad/touchsurface.md)
