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

# addProgressMark(_:)

Adds the progress mark to the receiver.

```
func addProgressMark(_ progressMark: NSAnimation.Progress)
```

## Parameters

`progressMark`

A `float` value (typed as NSAnimationProgress) between 0.0 and 1.0. Values outside that range are pinned to 0.0 or 1.0, whichever is nearest.

## Discussion

A progress mark represents a percentage of the animation completed. When the animation reaches a progress mark, an [`animation(_:didReachProgressMark:)`](/documentation/AppKit/NSAnimationDelegate/animation(_:didReachProgressMark:)) message is sent to the delegate and an [`progressMarkNotification`](/documentation/AppKit/NSAnimation/progressMarkNotification) is broadcast to all observers. You might receive multiple notifications of progress advances over multiple marks.

## See Also

[`var currentProgress: NSAnimation.Progress`](/documentation/AppKit/NSAnimation/currentProgress)

The current progress of the animation.



---

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)