---
title: BETextSelectionDirectionNavigation
framework: browserenginekit
role: symbol
role_heading: Protocol
path: browserenginekit/betextselectiondirectionnavigation
---

# BETextSelectionDirectionNavigation

A protocol that defines methods for cursor and selection adjustments.

## Declaration

```swift
protocol BETextSelectionDirectionNavigation
```

## Overview

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:)](browserenginekit/betextselectiondirectionnavigation/extend(in:).md)
- [extend(in:by:)](browserenginekit/betextselectiondirectionnavigation/extend(in:by:).md)

### Moving the cursor

- [move(in:)](browserenginekit/betextselectiondirectionnavigation/move(in:).md)
- [move(in:by:)](browserenginekit/betextselectiondirectionnavigation/move(in:by:).md)

## Relationships

### Inherited By

- [BETextInput](browserenginekit/betextinput.md)

## See Also

### Text selection

- [BESelectionFlags](browserenginekit/beselectionflags.md)
- [BESelectionTouchPhase](browserenginekit/beselectiontouchphase.md)
