PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

FrameStyle

FrameStyle

The FrameStyle Enum is used to set the style of a /Frame. Below is a comparison of all seven frame styles. The TextLabels are positioned at the top-left corner of the frame (at the /UDim2 value of {{0, 0}, {0, 0}}).

Example

Below is a screenshot containing all seven frame styles.
![FrameStyles.png]]1


Enums

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 {{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 /Dialog/Tone property set to /Enum/DialogTone neutral. 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 “Friendly.” Like “ChatBlue” 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 “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.

Referenced by

  • Frame/Style