Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
FrameStyle
The FrameStyle enum is used to set the style of a Frame.
Items
| Name | Value | Description |
|---|---|---|
| Custom | 0 | Uses the frame's GuiObject.BackgroundColor3, GuiObject.BorderColor3, and GuiObject.BackgroundTransparency properties to determine the frame's appearance. It has no padding; elements with the position UDim2.new(0, 0, 0, 0) will appear at the frame's top-left corner. |
| ChatBlue | 1 | Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Neutral. Like ChatGreen and ChatRed, this has a padding of fifteen pixels on all sides. |
| RobloxSquare | 2 | Causes the frame to appear as a translucent dark gray rectangle with a padding of five pixels on all sides. |
| RobloxRound | 3 | Causes the frame to appear as a translucent dark gray rectangle with rounded edges. Like RobloxSquare, this has a padding of five pixels on all sides. |
| ChatGreen | 4 | Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Friendly. Like ChatBlue and ChatRed, this has a padding of fifteen pixels on all sides. |
| ChatRed | 5 | Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Enemy. Like ChatBlue and ChatGreen, this has a padding of fifteen pixels on all sides. |
| DropShadow | 6 | Causes the frame to appear as a translucent gray rectangle with blurred sides. The blur is more apparent on the bottom edge. It has a padding of eight pixels on all sides. |
Custom
Uses the frame's GuiObject.BackgroundColor3, GuiObject.BorderColor3, and GuiObject.BackgroundTransparency properties to determine the frame's appearance. It has no padding; elements with the position UDim2.new(0, 0, 0, 0) will appear at the frame's top-left corner.
| Field | Value |
|---|---|
| value | 0 |
ChatBlue
Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Neutral. Like ChatGreen and ChatRed, this has a padding of fifteen pixels on all sides.
| Field | Value |
|---|---|
| value | 1 |
RobloxSquare
Causes the frame to appear as a translucent dark gray rectangle with a padding of five pixels on all sides.
| Field | Value |
|---|---|
| value | 2 |
RobloxRound
Causes the frame to appear as a translucent dark gray rectangle with rounded edges. Like RobloxSquare, this has a padding of five pixels on all sides.
| Field | Value |
|---|---|
| value | 3 |
ChatGreen
Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Friendly. Like ChatBlue and ChatRed, this has a padding of fifteen pixels on all sides.
| Field | Value |
|---|---|
| value | 4 |
ChatRed
Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Enemy. Like ChatBlue and ChatGreen, this has a padding of fifteen pixels on all sides.
| Field | Value |
|---|---|
| value | 5 |
DropShadow
Causes the frame to appear as a translucent gray rectangle with blurred sides. The blur is more apparent on the bottom edge. It has a padding of eight pixels on all sides.
| Field | Value |
|---|---|
| value | 6 |