[android-components](../../index.md) / [mozilla.components.ui.progress](../index.md) / [AnimatedProgressBar](index.md) / [setProgress](./set-progress.md)

# setProgress

`open fun setProgress(progress: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/ui/progress/src/main/java/mozilla/components/ui/progress/AnimatedProgressBar.kt#L42)

Sets the current progress to the specified value.

