---
title: canWrap
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcswitchpositioninput/canwrap
---

# canWrap

A Boolean value that indicates whether the position value wraps when it reaches the range’s minimum or maximum value.

## Declaration

```swift
var canWrap: Bool { get }
```

## Discussion

Discussion For non-sequential switches, this property is always true.

## See Also

### Getting the characteristics

- [positionRange](gamecontroller/gcswitchpositioninput/positionrange.md)
- [isSequential](gamecontroller/gcswitchpositioninput/issequential.md)
