<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -",
    "macCatalyst: 17.5.0 -",
    "macOS: 14.5.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PencilHoverPose/location",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15PencilHoverPoseV8locationSo7CGPointVvp"
  },
  "title" : "location"
}
-->

# location

The location of an Apple Pencil hovering in the area above the view’s
bounds, expressed as a point in that view’s coordinate space.

```
let location: CGPoint
```

## Discussion

Use the [`anchor`](/documentation/SwiftUI/PencilHoverPose/anchor) property if you require a normalized anchor point for
use with a presentation modifier instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)