<!--
{
  "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/adjustSelectionBoundary(to:touchPhase:baseIsStart:flags:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BETextInput(im)adjustSelectionBoundaryToPoint:touchPhase:baseIsStart:flags:"
  },
  "title" : "adjustSelectionBoundary(to:touchPhase:baseIsStart:flags:)"
}
-->

# adjustSelectionBoundary(to:touchPhase:baseIsStart:flags:)

Adjusts the start or end boundary of the current selection to the given point.

```
func adjustSelectionBoundary(to point: CGPoint, touchPhase touch: BESelectionTouchPhase, baseIsStart boundaryIsStart: Bool, flags: BESelectionFlags)
```

## Parameters

`point`

The new boundary point of the selection.

`touch`

The touch phase of the gesture.

`boundaryIsStart`

`true` if the `point` is at the new start of the selection; `false` if it’s at the end.

`flags`

Extra information about the selection.

## Discussion

When you receive this method, call [`selectionBoundaryAdjusted(to:touchPhase:flags:)`](/documentation/BrowserEngineKit/BETextInteraction/selectionBoundaryAdjusted(to:touchPhase:flags:)) to notify the system that your text view handled the update.

---

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)