3 min read

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

NameValueDescription
Custom0Uses 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.
ChatBlue1Causes 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.
RobloxSquare2Causes the frame to appear as a translucent dark gray rectangle with a padding of five pixels on all sides.
RobloxRound3Causes 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.
ChatGreen4Causes 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.
ChatRed5Causes 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.
DropShadow6Causes 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.

FieldValue
value0

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.

FieldValue
value1

RobloxSquare

Causes the frame to appear as a translucent dark gray rectangle with a padding of five pixels on all sides.

FieldValue
value2

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.

FieldValue
value3

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.

FieldValue
value4

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.

FieldValue
value5

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.

FieldValue
value6