---
title: "perform(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfview/perform(_:)"
---

# perform(_:)

Performs the specified action.

## Declaration

```swift
func perform(_ action: PDFAction)
```

## See Also

### Working with Mouse Position and Events

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