<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCControllerPlayerIndex",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@E@GCControllerPlayerIndex"
  },
  "title" : "GCControllerPlayerIndex"
}
-->

# GCControllerPlayerIndex

The possible values for controller player indices.

```
enum GCControllerPlayerIndex
```

## Topics

### Player indices

[`GCControllerPlayerIndex.indexUnset`](/documentation/GameController/GCControllerPlayerIndex/indexUnset)

The default index for a player on a controller.

[`GCControllerPlayerIndex.index1`](/documentation/GameController/GCControllerPlayerIndex/index1)

Player one is using the controller.

[`GCControllerPlayerIndex.index2`](/documentation/GameController/GCControllerPlayerIndex/index2)

Player two is using the controller.

[`GCControllerPlayerIndex.index3`](/documentation/GameController/GCControllerPlayerIndex/index3)

Player three is using the controller.

[`GCControllerPlayerIndex.index4`](/documentation/GameController/GCControllerPlayerIndex/index4)

Player four is using the controller.



---

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)