---
title: "autoscroll(to:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/betextinput/autoscroll(to:)"
---

# autoscroll(to:)

Indicates that a text gesture initiated autoscrolling.

## Declaration

```swift
func autoscroll(to point: CGPoint)
```

## Parameters

- `point`: The location to which to autoscroll, in the coordinate system of your view’s doc://com.apple.BrowserEngineKit/documentation/BrowserEngineKit/BETextInput/textInputView.

## Mentioned in

Integrating custom browser text views with UIKit

## Discussion

Discussion The text system calls the method repeatedly when a gesture requires the text view to scroll, for example, when a person adjusts the text selection range, or places the text cursor. The text system sends cancelAutoscroll() when there are no further updates.
