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

# BETextSelectionDirectionNavigation

A protocol that defines methods for cursor and selection adjustments.

```
protocol BETextSelectionDirectionNavigation
```

## Overview

This protocol enables your app to request text-cursor movement and selection modifications. In response to a person’s input, the system calls your app in the conditions described by the protocol. Your app performs the requested operation and updates text cursor or selection state accordingly.

## Topics

### Extending the text section

[`extend(in:)`](/documentation/BrowserEngineKit/BETextSelectionDirectionNavigation/extend(in:))

Extends text selection in the specified directions, such as in response to an arrow key press while shift is held.

[`extend(in:by:)`](/documentation/BrowserEngineKit/BETextSelectionDirectionNavigation/extend(in:by:))

Moves the selection in the specified directions by granularity, in response to different key combinations:

### Moving the cursor

[`move(in:)`](/documentation/BrowserEngineKit/BETextSelectionDirectionNavigation/move(in:))

Moves the cursor in the specified directions, such as in response to an arrow key press.

[`move(in:by:)`](/documentation/BrowserEngineKit/BETextSelectionDirectionNavigation/move(in:by:))

Moves the cursor in the specified directions by granularity, in response to different key combinations:



---

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)