---
title: "stopAnimation(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsprogressindicator/stopanimation(_:)"
---

# stopAnimation(_:)

Stops the animation of an indeterminate progress indicator.

## Declaration

```swift
func stopAnimation(_ sender: Any?)
```

## Parameters

- `sender`: The object sending the message.

## Discussion

Discussion Does nothing for a determinate progress indicator.

## See Also

### Animating the progress indicator

- [startAnimation(_:)](appkit/nsprogressindicator/startanimation(_:).md)
- [usesThreadedAnimation](appkit/nsprogressindicator/usesthreadedanimation.md)
