> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/bordermode.md).

# BorderMode

## Overview

BorderMode is an Enum that defines the border position of UI elements.

It is used in the BorderMode property of GuiObject and determines whether the border is displayed inside, centered on, or outside the edge of the element.

## Items

| Name    | Value | Description                                                  |
| ------- | ----- | ------------------------------------------------------------ |
| Inset   | 0     | The border is displayed inside the edge of the element.      |
| Middle  | 1     | The border is displayed centered on the edge of the element. |
| Outline | 2     | The border is displayed outside the edge of the element.     |

## See also

{% content-ref url="/pages/tUoR0XOCon8z9Z73VLym" %}
[GuiObject](/development/api-reference/classes/guiobject.md)
{% endcontent-ref %}
