<!--
{
  "availability" : [
    "macOS: 10.5.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotation/mouseUpAction",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotation(py)mouseUpAction"
  },
  "title" : "mouseUpAction"
}
-->

# mouseUpAction

The action to perform when a user releases the mouse button within an annotation.

```
var mouseUpAction: PDFAction? { get set }
```

## Parameters

`action`

The PDF action to perform when a user releases the mouse button within an annotation.

## Discussion

The mouse-up action is optional.

---

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)