1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

RtlTextSupport

Determines how StarterGui handles bidirectional text layout across the experience. Right-to-left (RTL) support allows UI text to flow from right to left, which is the natural reading direction for scripts such as Arabic and Hebrew. When set to RtlTextSupport.Default or RtlTextSupport.Enabled, text-bearing UI elements correctly display these scripts, including proper text alignment and character ordering. Setting the property to RtlTextSupport.Disabled forces all text to render left-to-right regardless of the script's natural direction.

The StarterGui.RtlTextSupport property defaults to RtlTextSupport.Default.

Items

NameValueDescription
Default0Enables RTL text support using the engine's default behavior.
Disabled1Disables RTL text support, forcing all text to render left-to-right.
Enabled2Explicitly enables RTL text support for right-to-left scripts such as Arabic and Hebrew.

Default

Enables RTL text support using the engine's default behavior.

FieldValue
value0

Disabled

Disables RTL text support, forcing all text to render left-to-right.

FieldValue
value1

Enabled

Explicitly enables RTL text support for right-to-left scripts such as Arabic and Hebrew.

FieldValue
value2