---
title: ScrollPhaseChangeContext
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/scrollphasechangecontext
---

# ScrollPhaseChangeContext

A type that provides you with more content when the phase of a scroll view changes.

## Declaration

```swift
struct ScrollPhaseChangeContext
```

## Overview

Overview You don’t create this type directly. Instead, SwiftUI provides an instance of this type in the onScrollPhaseChange(_:) modifier.

## Topics

### Instance Properties

- [geometry](swiftui/scrollphasechangecontext/geometry.md)
- [velocity](swiftui/scrollphasechangecontext/velocity.md)

## See Also

### Responding to scroll view changes

- [onScrollGeometryChange(for:of:action:)](swiftui/view/onscrollgeometrychange(for:of:action:).md)
- [onScrollTargetVisibilityChange(idType:threshold:_:)](swiftui/view/onscrolltargetvisibilitychange(idtype:threshold:_:).md)
- [onScrollVisibilityChange(threshold:_:)](swiftui/view/onscrollvisibilitychange(threshold:_:).md)
- [onScrollPhaseChange(_:)](swiftui/view/onscrollphasechange(_:).md)
- [ScrollGeometry](swiftui/scrollgeometry.md)
- [ScrollPhase](swiftui/scrollphase.md)
