<!--
{
  "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/updateCurrentSelection(to:from:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BETextInput(im)updateCurrentSelectionTo:fromGesture:inState:"
  },
  "title" : "updateCurrentSelection(to:from:in:)"
}
-->

# updateCurrentSelection(to:from:in:)

Indicates the point where the text interaction gesture changes.

```
func updateCurrentSelection(to point: CGPoint, from gestureType: BEGestureType, in state: UIGestureRecognizer.State)
```

## Parameters

`point`

The new location of the gesture.

`gestureType`

The type of gesture the system tracks.

`state`

The state of the gesture.

## Discussion

In your implementation of this method, notify the system that your app handles the change by calling [`selectionChangedWithGesture(at:gesture:state:flags:)`](/documentation/BrowserEngineKit/BETextInteraction/selectionChangedWithGesture(at:gesture:state:flags:)).

---

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)