---
title: phase
framework: browserenginekit
role: symbol
role_heading: Instance Property
path: browserenginekit/bescrollviewscrollupdate/phase-swift.property
---

# phase

A value that indicates the scroll update’s position in the scrolling life cycle.

## Declaration

```swift
var phase: BEScrollViewScrollUpdate.Phase { get }
```

## Discussion

Discussion The phases of a scroll update follow a state machine: A scroll gesture begins in the BEScrollViewScrollUpdate.Phase.began phase when the person places their finger in the scroll view. As the person interacts with the scroll view, the system generates zero or more BEScrollViewScrollUpdate.Phase.changed updates. The gesture enters the BEScrollViewScrollUpdate.Phase.ended phase when the person lifts their finger, or the BEScrollViewScrollUpdate.Phase.cancelled phase when another event causes the system to stop tracking the gesture.

## See Also

### Retrieving scroll state information

- [timestamp](browserenginekit/bescrollviewscrollupdate/timestamp.md)
- [BEScrollViewScrollUpdate.Phase](browserenginekit/bescrollviewscrollupdate/phase-swift.enum.md)
