---
title: cancelTrackingWithoutAnimation()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsmenu/canceltrackingwithoutanimation()
---

# cancelTrackingWithoutAnimation()

Dismisses the menu and ends all menu tracking without displaying the associated animation.

## Declaration

```swift
func cancelTrackingWithoutAnimation()
```

## See Also

### Handling Tracking

- [cancelTracking()](appkit/nsmenu/canceltracking().md)
