Version: Unity 6.3 LTS (6000.3)
Language : English
Enable and use Advanced Text Generator
Auto sizing text elements

Cursor movement

This page explains how cursor movement behaves in the input fields when handling bidirectional (BIDI) text.

Logical Cursor Movement

Unity currently follows a Logical Cursor Movement approach. This means the cursor moves through BIDI text based on the direction of the segment of text. For example, using the left arrow key in a sentence with Arabic and English text, it moves right-to-left through Arabic, then jumps at the leftmost character in the English segment and continues left-to-right until it reaches the end of the segment.

Logical Cursor Movement Example
Logical Cursor Movement Example

Visual Cursor Movement

Some applications follow a Visual Cursor Movement approach. This means the cursor moves to the next visual character regardless of the direction of the text, which can sometimes feel more intuitive for users.

Additional resources

Enable and use Advanced Text Generator
Auto sizing text elements
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961