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

# buttonX

The left face button.

## Declaration

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

## Discussion

Discussion The face buttons in the gamepad profile are analog buttons.

## See Also

### Reading Face Button Inputs

- [buttonA](gamecontroller/gcgamepad/buttona.md)
- [buttonB](gamecontroller/gcgamepad/buttonb.md)
- [buttonY](gamecontroller/gcgamepad/buttony.md)
