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.

LeftRight

The LeftRight Enum is used to set where the object is on the side of its parent.

Items

NameValueDescription
Left0The object is on the left side of its parent (X axis).
Center1The object is centered on the center of its parent (X axis), expanding equally to the left and right of the parent's center.
Right2The object is on the right side of its parent (X axis).

Left

The object is on the left side of its parent (X axis).

FieldValue
value0

Center

The object is centered on the center of its parent (X axis), expanding equally to the left and right of the parent's center.

FieldValue
value1

The object is on the right side of its parent (X axis).

FieldValue
value2