---
title: "scrollIndicatorsFlash(onAppear:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/scrollindicatorsflash(onappear:)"
---

# scrollIndicatorsFlash(onAppear:)

Flashes the scroll indicators of a scrollable view when it appears.

## Declaration

```swift
nonisolated func scrollIndicatorsFlash(onAppear: Bool) -> some View

```

## Parameters

- `onAppear`: A Boolean value that indicates whether the scroll indicators flash when the scroll view appears.

## Return Value

Return Value A view that flashes any visible scroll indicators when it first appears.

## Discussion

Discussion Use this modifier to control whether the scroll indicators of a scroll view briefly flash when the view first appears. For example, you can make the indicators flash by setting the onAppear parameter to true: ScrollView {     // ... } .scrollIndicatorsFlash(onAppear: true) Only scroll indicators that you configure to be visible flash. To flash scroll indicators when a value changes, use scrollIndicatorsFlash(trigger:) instead.

## See Also

### Showing scroll indicators

- [scrollIndicatorsFlash(trigger:)](swiftui/view/scrollindicatorsflash(trigger:).md)
- [scrollIndicators(_:axes:)](swiftui/view/scrollindicators(_:axes:).md)
- [horizontalScrollIndicatorVisibility](swiftui/environmentvalues/horizontalscrollindicatorvisibility.md)
- [verticalScrollIndicatorVisibility](swiftui/environmentvalues/verticalscrollindicatorvisibility.md)
- [ScrollIndicatorVisibility](swiftui/scrollindicatorvisibility.md)
