---
title: x
framework: gamecontroller
role: symbol
role_heading: Type Property
path: gamecontroller/gcbuttonelementname-swift.struct/x
---

# x

The name for the controller’s X button.

## Declaration

```swift
static let x: GCButtonElementName
```

## See Also

### Getting extended gamepad face button names

- [menu](gamecontroller/gcbuttonelementname-swift.struct/menu.md)
- [options](gamecontroller/gcbuttonelementname-swift.struct/options.md)
- [home](gamecontroller/gcbuttonelementname-swift.struct/home.md)
- [a](gamecontroller/gcbuttonelementname-swift.struct/a.md)
- [b](gamecontroller/gcbuttonelementname-swift.struct/b.md)
- [y](gamecontroller/gcbuttonelementname-swift.struct/y.md)
