---
title: buttonX
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcextendedgamepad/buttonx
---

# buttonX

The left face button that uses X or another indicator as its label.

## Declaration

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

## Discussion

Discussion The face buttons in the extended gamepad profile may be either analog or digital buttons.

## See Also

### Getting face button inputs

- [buttonMenu](gamecontroller/gcextendedgamepad/buttonmenu.md)
- [buttonOptions](gamecontroller/gcextendedgamepad/buttonoptions.md)
- [buttonHome](gamecontroller/gcextendedgamepad/buttonhome.md)
- [buttonA](gamecontroller/gcextendedgamepad/buttona.md)
- [buttonB](gamecontroller/gcextendedgamepad/buttonb.md)
- [buttonY](gamecontroller/gcextendedgamepad/buttony.md)
