---
title: "move(in:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/betextselectiondirectionnavigation/move(in:)"
---

# move(in:)

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

## Declaration

```swift
func move(in direction: UITextLayoutDirection)
```

## See Also

### Moving the cursor

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