Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
BorderStrokePosition
Used by UIStroke.BorderStrokePosition to determine the stroke's position on its parent's border.
Items
| Name | Value | Description |
|---|---|---|
| Outer | 0 | The stroke renders on the outer border of the parent UI element.![]() |
| Center | 1 | The stroke renders on the center border of the parent UI element.![]() |
| Inner | 2 | The stroke renders on the inner border of the parent UI element.![]() |
Outer
The stroke renders on the outer border of the parent UI element.
| Field | Value |
|---|---|
| value | 0 |
Center
The stroke renders on the center border of the parent UI element.
| Field | Value |
|---|---|
| value | 1 |
Inner
The stroke renders on the inner border of the parent UI element.
| Field | Value |
|---|---|
| value | 2 |