<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCInputButtonX-32i2z",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "s:14GameController14GCInputButtonXSSvp"
  },
  "title" : "GCInputButtonX"
}
-->

# GCInputButtonX

The name for the controller’s X button.

```
var GCInputButtonX: String { get }
```

## See Also

[`buttonX`](/documentation/GameController/GCExtendedGamepad/buttonX)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)