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

ScrollingFrame

Show deprecated

ScrollingFrame

Show deprecated

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

Vector2

AbsoluteWindowSize

[ReadOnly] [NotReplicated]

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

Content

BottomImage

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

CanvasPosition

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

UDim2

CanvasSize

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

ElasticBehavior

Determines how elastic scrolling behaves for touch input

ScrollBarInset

HorizontalScrollBarInset

Indicates the inset behavior of the horizontal scrolling bar.

Content

MidImage

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.

Color3

ScrollBarImageColor3

float

ScrollBarImageTransparency

int

ScrollBarThickness

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

ScrollingDirection

Determines the direction scrolling is allowed in this scrolling frame

bool

ScrollingEnabled

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

Content

TopImage

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

VerticalScrollBarInset

Indicates the inset behavior of the vertical scrolling bar.

VerticalScrollBarPosition

VerticalScrollBarPosition

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

Functions

Events