We use cookies on this site to enhance your user experience

ScrollingFrame

ScrollingFrame

The ScrollingFrame is a special Frame that handles all scrolling for you, with a range of different ways to customize how the scrolling works. An in-depth tutorial for the ScrollingFrame can be found here.


Properties

Name Type Description
Vector2

The size in pixels of the frame, without the scrollbars.

Content

The Down image on the vertical scrollbar. Size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the image on the horizontal scroll bar.

Vector2

The location within the canvas, in pixels, that should be drawn at the top left of the scroll frame

UDim2

Determines the size of the area that is scrollable. The UDim2 is calculated using the parent gui’s size, similar to the regular Size property on gui objects.

ElasticBehavior

Controls the elasticity behavior of the ScrollingFrame on mobile devices.

ScrollBarInset

Indicates the inset behavior of the horizontal scrolling bar.

Content

The middle image on the vertical scrollbar. The size of this can vary in the y direction, but is always set as ScrollingFrame/ScrollBarThickness in the x direction. This is also used as the middle image on the horizontal scroll bar.

int

How thick the scroll bar appears. This applies to both the horizontal and vertical scroll bars. If set to 0, no scroll bars are rendered.

ScrollingDirection

Controls the directions that a ScrollingFrame is allowed to scroll in.

bool

Determines whether or not scrolling is allowed on the frame. If false, no scroll bars will be rendered.

Content

The Up image on the vertical scrollbar. The size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the left image on the horizontal scroll bar.

ScrollBarInset

Indicates the inset behavior of the vertical scrolling bar.

VerticalScrollBarPosition

Indicates the side that the vertical scrollbar will be located at.

Inherited from Instance , GuiBase , GuiBase2d , GuiObject

Archivable ClassName DataCost Name Parent RobloxLocked AbsolutePosition AbsoluteRotation AbsoluteSize AutoLocalize RootLocalizationTable Active AnchorPoint BackgroundColor3 BackgroundTransparency BorderColor3 BorderSizePixel ClipsDescendants LayoutOrder NextSelectionDown NextSelectionLeft NextSelectionRight NextSelectionUp Position Rotation Selectable SelectionImageObject Size SizeConstraint Transparency Visible ZIndex