---
title: rollAngle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uihovergesturerecognizer/rollangle
---

# rollAngle

A value that represents the current barrel-roll angle of Apple Pencil.

## Declaration

```swift
var rollAngle: CGFloat { get }
```

## Discussion

Discussion For models of Apple Pencil that don’t support barrel-roll angle data, the value of this property is 0.

## See Also

### Supporting Apple Pencil hover

- [altitudeAngle](uikit/uihovergesturerecognizer/altitudeangle.md)
- [azimuthAngle(in:)](uikit/uihovergesturerecognizer/azimuthangle(in:).md)
- [azimuthUnitVector(in:)](uikit/uihovergesturerecognizer/azimuthunitvector(in:).md)
- [zOffset](uikit/uihovergesturerecognizer/zoffset.md)
