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
| Name | Value | Description |
|---|---|---|
| Left | 0 | The object is on the left side of its parent (X axis). |
| Center | 1 | The object is centered on the center of its parent (X axis), expanding equally to the left and right of the parent's center. |
| Right | 2 | The object is on the right side of its parent (X axis). |
Left
The object is on the left side of its parent (X axis).
| Field | Value |
|---|---|
| value | 0 |
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.
| Field | Value |
|---|---|
| value | 1 |
Right
The object is on the right side of its parent (X axis).
| Field | Value |
|---|---|
| value | 2 |