<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCMicroGamepad/allowsRotation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCMicroGamepad(py)allowsRotation"
  },
  "title" : "allowsRotation"
}
-->

# allowsRotation

A Boolean value that indicates whether the profile reports the directional pad values relative to its current orientation.

```
var allowsRotation: Bool { get set }
```

## Discussion

If this property is <doc://com.apple.documentation/documentation/Swift/false>, the profile reports the value of the directional pad only in portrait orientation even when the user rotates the controller. If this property is <doc://com.apple.documentation/documentation/Swift/true>, the profile reports the values using the current orientation. The default value for this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)