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

# hasAttitudeAndRotationRate

A Boolean value that indicates whether the controller provides attitude and rotation data.

```
var hasAttitudeAndRotationRate: Bool { get }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if the controller provides attitude and rotation rate data; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## See Also

[`attitude`](/documentation/GameController/GCMotion/attitude)

The attitude of the controller.

[`rotationRate`](/documentation/GameController/GCMotion/rotationRate)

The rotation rate of 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)