---
title: "scrollTo(point:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/scrollposition/scrollto(point:)"
---

# scrollTo(point:)

Scrolls the position of the scroll view to the point you provide.

## Declaration

```swift
mutating func scrollTo(point: CGPoint)
```

## Discussion

Discussion The scroll view will clamp this value to only scroll to the size of its actual content.
