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

# setVisibility

`open fun setVisibility(value: `[`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#L92)

Set the visibility state of this view.

