---
title: hasRotationRate
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcmotion/hasrotationrate
---

# hasRotationRate

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

## Declaration

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

## Discussion

Discussion true if the controller provides rotation data; otherwise, false.

## See Also

### Related Documentation

- [rotationRate](gamecontroller/gcmotion/rotationrate.md)

### Verifying Capabilities

- [hasAttitude](gamecontroller/gcmotion/hasattitude.md)
- [hasGravityAndUserAcceleration](gamecontroller/gcmotion/hasgravityanduseracceleration.md)
- [hasAttitudeAndRotationRate](gamecontroller/gcmotion/hasattitudeandrotationrate.md)
