---
title: roll
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmattitude/roll
---

# roll

The roll of the device, in radians.

## Declaration

```swift
var roll: Double { get }
```

## Mentioned in

Getting processed device-motion data

## Discussion

Discussion A roll is a rotation around a longitudinal axis that passes through the device from its top to bottom.

## See Also

### Related Documentation

- [Event Handling Guide for UIKit Apps](apple-archive/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS.md)

### Getting a Mathematical Representation of Attitude as Euler Angles

- [pitch](coremotion/cmattitude/pitch.md)
- [yaw](coremotion/cmattitude/yaw.md)
