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

# startAnimation(_:)

Starts the animation of an indeterminate progress indicator.

## Declaration

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

## Parameters

- `sender`: The object sending the message.

## Discussion

Discussion Does nothing for a determinate progress indicator.

## See Also

### Related Documentation

- [Progress Indicator Programming Topics](apple-archive/documentation/Cocoa/Conceptual/ProgIndic.md)

### Animating the progress indicator

- [stopAnimation(_:)](appkit/nsprogressindicator/stopanimation(_:).md)
- [usesThreadedAnimation](appkit/nsprogressindicator/usesthreadedanimation.md)
