---
title: buttonB
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcgamepad/buttonb
---

# buttonB

The right face button.

## Declaration

```swift
var buttonB: 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)
- [buttonX](gamecontroller/gcgamepad/buttonx.md)
- [buttonY](gamecontroller/gcgamepad/buttony.md)
