<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAnimation/stop()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSAnimation(im)stopAnimation"
  },
  "title" : "stop()"
}
-->

# stop()

Stops the animation represented by the receiver.

```
func stop()
```

## Discussion

The current progress of the receiver is not reset.  When this method is sent to instances of [`NSViewAnimation`](/documentation/AppKit/NSViewAnimation) (a subclass of `NSAnimation`) the receiver moves to the end frame location.

## See Also

[`stop(when:reachesProgress:)`](/documentation/AppKit/NSAnimation/stop(when:reachesProgress:))

Stops running the animation represented by the receiver when another animation reaches a specific progress mark.



---

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)