---
title: gyroData
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmmotionmanager/gyrodata
---

# gyroData

The latest sample of gyroscope data.

## Declaration

```swift
var gyroData: CMGyroData? { get }
```

## Mentioned in

Getting raw gyroscope events

## Discussion

Discussion If no gyroscope data is available, the value of this property is nil. An app that is receiving gyroscope data after calling startGyroUpdates() periodically checks the value of this property and processes the gyroscope data.

## See Also

### Managing Gyroscope Updates

- [gyroUpdateInterval](coremotion/cmmotionmanager/gyroupdateinterval.md)
- [startGyroUpdates(to:withHandler:)](coremotion/cmmotionmanager/startgyroupdates(to:withhandler:).md)
- [startGyroUpdates()](coremotion/cmmotionmanager/startgyroupdates().md)
- [stopGyroUpdates()](coremotion/cmmotionmanager/stopgyroupdates().md)
- [CMGyroHandler](coremotion/cmgyrohandler.md)
