Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MoveBackward()

Moves the cursor backward by one character.
Read time 1 minuteLast updated 7 days ago

Definition

void MoveBackward()

Remarks

The cursor moves according to the logical text indices, which might differ from their visual order on screen, especially with right-to-left text. This API uses the visualElement's style to compute the result, so calling it before the styles are computed might return an incorrect value.