---
title: patternInput
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcgearshifterelement/patterninput
---

# patternInput

The input object for a pattern gear shift.

## Declaration

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

## Discussion

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 property of this property is 0, the gear shift is in neutral. If it’s -1, the gear shift is in reverse.

## See Also

### Accessing input values

- [sequentialInput](gamecontroller/gcgearshifterelement/sequentialinput.md)
