Enum
Enum.BorderMode
Used by GuiObject.BorderMode to determine where borders are placed.
| Item | Value | Summary |
|---|---|---|
| Enum.BorderMode.Outline | 0 | As GuiObject.BorderSizePixel increases, the border grows outward. The dimensions of the GuiObject's contents do not change. |
| Enum.BorderMode.Middle | 1 | As 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.Inset | 2 | As 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.