---
title: "areaOfInterest(for:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfview/areaofinterest(for:)"
---

# areaOfInterest(for:)

Returns the type of area for a specific cursor location point.

## Declaration

```swift
func areaOfInterest(for cursorLocation: CGPoint) -> PDFAreaOfInterest
```

```swift
func areaOfInterest(for cursorLocation: NSPoint) -> PDFAreaOfInterest
```

## See Also

### Working with Mouse Position and Events

- [areaOfInterest(forMouse:)](pdfkit/pdfview/areaofinterest(formouse:).md)
- [PDFAreaOfInterest](pdfkit/pdfareaofinterest.md)
- [setCursorFor(_:)](pdfkit/pdfview/setcursorfor(_:).md)
- [perform(_:)](pdfkit/pdfview/perform(_:).md)
- [Drag Operations](pdfkit/drag-operations.md)
