<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCGearShifterElement/patternInput",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCGearShifterElement(py)patternInput"
  },
  "title" : "patternInput"
}
-->

# patternInput

The input object for a pattern gear shift.

```
var patternInput: (any GCSwitchPositionInput)? { get }
```

## Discussion

If this property is `nil`, the gear shift isn’t a pattern gear shift. A pattern gear shift lays out the gears in a pattern that lets the user move to any gear. If the [`position`](/documentation/GameController/GCSwitchPositionInput/position) property of this property is `0`, the gear shift is in neutral. If it’s `-1`, the gear shift is in reverse.

---

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)