Skip to content

Class · inherits GuiObject

Frame

Official docs ↗

A GuiObject that renders as a plain rectangle, generally used as a container.

About Frame

Frame is a GuiObject that acts as a container for other GuiObjects. You can use it for UI that either displays on a user's screen or on a surface within the experience.

Frames are ideal containers for responsive layouts such as list and flex layouts, allowing you to change the size of the frame and dynamically adjust how layout items fit within it. Frames are also core GuiObjects, so you can customize properties such as BackgroundColor3, Transparency, apply a background gradient or border, and more.

Properties 1

  • Style: FrameStyleSets what the frame looks like from a selection of pre-determined styles.

    Sets what the frame looks like from a selection of pre-determined styles. See FrameStyle for a description of each style.

Frame also has every member of GuiObject. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.