---
title: "addProgressMark(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsanimation/addprogressmark(_:)"
---

# addProgressMark(_:)

Adds the progress mark to the receiver.

## Declaration

```swift
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

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

## See Also

### Related Documentation

- [currentProgress](appkit/nsanimation/currentprogress.md)

### Managing Progress Marks

- [removeProgressMark(_:)](appkit/nsanimation/removeprogressmark(_:).md)
- [progressMarks](appkit/nsanimation/progressmarks.md)
