<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BETextInput/autoscroll(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BETextInput(im)autoscrollToPoint:"
  },
  "title" : "autoscroll(to:)"
}
-->

# autoscroll(to:)

Indicates that a text gesture initiated autoscrolling.

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

## Parameters

`point`

The location to which to autoscroll, in the coordinate system of your view’s [`textInputView`](/documentation/BrowserEngineKit/BETextInput/textInputView).

## 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()`](/documentation/BrowserEngineKit/BETextInput/cancelAutoscroll()) when there are no further updates.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)