Skip to content

Enum

Enum.BorderMode

Used by GuiObject.BorderMode to determine where borders are placed.

Official docs ↗
ItemValueSummary
Enum.BorderMode.Outline0As GuiObject.BorderSizePixel increases, the border grows outward. The dimensions of the GuiObject's contents do not change.
Enum.BorderMode.Middle1As GuiObject.BorderSizePixel increases, the border grows evenly inward and outward. The dimensions of the GuiObject's contents are reduced at a 1:1 ratio.
Enum.BorderMode.Inset2As GuiObject.BorderSizePixel increases, the border grows evenly inward only. The dimensions of the GuiObject's contents are reduced at a 1:2 ratio.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.