---
title: rotationRate
framework: webkitjs
role: symbol
role_heading: Instance Property
path: webkitjs/devicemotionevent/1634377-rotationrate
---

# rotationRate

The rotation rate of the device.

## Declaration

```data
readonly attribute RotationRate rotationRate;
```

## Discussion

Discussion The RotationRate object specifies the device’s rate of rotation around three axes. It contains alpha, beta, and gamma properties represented as doubles as described in DeviceOrientationEvent. This property is null if the device cannot provide the rate of rotation—that is, if the device does not have a gyroscope.

## See Also

### Getting Motion Event Properties

- [acceleration](webkitjs/devicemotionevent/1629483-acceleration.md)
- [accelerationIncludingGravity](webkitjs/devicemotionevent/1629110-accelerationincludinggravity.md)
- [interval](webkitjs/devicemotionevent/1632148-interval.md)
