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

# y

The name for the controller’s Y button.

## Declaration

```swift
static let y: 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)
- [x](gamecontroller/gcbuttonelementname-swift.struct/x.md)
