---
title: stop()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsanimation/stop()
---

# stop()

Stops the animation represented by the receiver.

## Declaration

```swift
func stop()
```

## Discussion

Discussion The current progress of the receiver is not reset.  When this method is sent to instances of NSViewAnimation (a subclass of NSAnimation) the receiver moves to the end frame location.

## See Also

### Related Documentation

- [stop(when:reachesProgress:)](appkit/nsanimation/stop(when:reachesprogress:).md)

### Controlling and Monitoring an Animation

- [start()](appkit/nsanimation/start().md)
- [isAnimating](appkit/nsanimation/isanimating.md)
- [currentProgress](appkit/nsanimation/currentprogress.md)
- [currentValue](appkit/nsanimation/currentvalue.md)
