---
title: y
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/scrollposition/y
---

# y

The positioned y value of the scroll view if configured to be in that position.

## Declaration

```swift
var y: CGFloat? { get }
```
