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.

BorderStrokePosition

Used by UIStroke.BorderStrokePosition to determine the stroke's position on its parent's border.

Items

NameValueDescription
Outer0The stroke renders on the outer border of the parent UI element.

Center1The stroke renders on the center border of the parent UI element.

Inner2The stroke renders on the inner border of the parent UI element.

Outer

The stroke renders on the outer border of the parent UI element.

FieldValue
value0

Center

The stroke renders on the center border of the parent UI element.

FieldValue
value1

Inner

The stroke renders on the inner border of the parent UI element.

FieldValue
value2