---
title: "mouseCancelled(with:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsresponder/mousecancelled(with:)"
---

# mouseCancelled(with:)

## Declaration

```swift
func mouseCancelled(with event: NSEvent)
```
