---
title: rotationRate
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmdevicemotion/rotationrate
---

# rotationRate

The rotation rate of the device.

## Declaration

```swift
var rotationRate: CMRotationRate { get }
```

## Discussion

Discussion A CMRotationRate structure contains data specifying the device’s rate of rotation around three axes. The value of this property contains a measurement of gyroscope data whose bias has been removed by Core Motion algorithms. The identically name property of CMGyroData, on the other hand, gives the raw data from the gyroscope. The structure type is declared in CMGyroData.h.

## See Also

### Getting Attitude and Rotation Rate

- [attitude](coremotion/cmdevicemotion/attitude.md)
