Skip to content

ScrollFrameProperties

export type ScrollFrameProperties = BaseScrollFrameProperties & {
    CanvasScaleConstraint: CanBeState<Enum.ScrollingDirection>?,
    UIPadding: UIPadding?,
    UILayout: UILayout?,
}

The ScrollFrameProperties table that is given to the ScrollFrame() function that contains data about the desired ScrollFrame.

This type is also an extension of the BaseScrollFrameProperties type.


Properties

CanvasScaleConstraint : CanBeState<Enum.ScrollingDirection>?

Constraints the CanvasScale property of the ScrollFrame by the set scrolling direction. Can either be a State containing the Enum, or the Enum.


UIPadding : UIPadding?

The UIPadding instance that will be applied to the ScrollFrame.


UILayout : UILayout?

The UILayout instance that will be applied to the ScrollFrame.