---
title: roll
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/pencilhoverpose/roll
---

# roll

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

## Declaration

```swift
let roll: Angle
```

## Discussion

Discussion This value is .zero when the user starts using their Apple Pencil, and changes relative to that initial angle as the user rolls the Apple Pencil alongside its barrel. If the Apple Pencil doesn’t support detecting its barrel roll angle, this property is always .zero.

## See Also

### Getting the hover characteristics

- [altitude](swiftui/pencilhoverpose/altitude.md)
- [anchor](swiftui/pencilhoverpose/anchor.md)
- [azimuth](swiftui/pencilhoverpose/azimuth.md)
- [location](swiftui/pencilhoverpose/location.md)
- [zDistance](swiftui/pencilhoverpose/zdistance.md)
