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

# anchor

The location of an Apple Pencil hovering in the area above the view’s bounds, expressed as a normalized anchor point relative to that view.

## Declaration

```swift
let anchor: UnitPoint
```

## Discussion

Discussion You can pass this anchor point directly to a presentation modifier like popover(isPresented:attachmentAnchor:arrowEdge:content:) or use the location property if you require an absolute point instead.

## See Also

### Getting the hover characteristics

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