Skip to content
Roblox API Reference

UIPageLayout

Positions sibling UI elements as full-size pages in a single row or column that users can scroll or animate through one page at a time.
Memory category
Instances
Own members
17
Inherited members
82
Subclasses
0
Siblings
4

Properties38

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromUIGridStyleLayout5

Property categoryAlignment

Property categoryBehavior

Property categoryData

Defined byUIPageLayout10

Property categoryAppearance

  • UIPageLayout.Animated: boolean = true
    Whether or not to animate transitions between pages.
    • Read capabilities: UI
  • UIPageLayout.Circular: boolean = false
    Whether or not the page layout wraps around at the ends.
    • Read capabilities: UI
  • UIPageLayout.EasingDirection: Enum.EasingDirection = Enum.EasingDirection.Out
    The easing direction to use when performing an animation.
    • Read capabilities: UI
  • UIPageLayout.EasingStyle: Enum.EasingStyle = Enum.EasingStyle.Back
    The easing style to use when performing an animation.
    • Read capabilities: UI
  • UIPageLayout.Padding: UDim = UDim.new(0, 0)
    Determines the amount that pages are separated from each other by.
    • Read capabilities: UI
  • UIPageLayout.TweenTime: number = 1
    The length of the animation.
    • Read capabilities: UI

Property categoryData

  • UIPageLayout.CurrentPage: GuiObject
    The page that is either currently being displayed or is the target of the current animation.
    • Read only
    • Read capabilities: UI
    • Save only

Property categoryInput

  • UIPageLayout.GamepadInputEnabled: boolean = true
    Controls the overrides of NextSelection{Up, Down, Left, Right}. Defaults to true.
    • Read capabilities: UI
  • UIPageLayout.ScrollWheelInputEnabled: boolean = true
    Controls the use of scroll wheel, in case that it is intended for something else. Defaults to true.
    • Read capabilities: UI
  • UIPageLayout.TouchInputEnabled: boolean = true
    Controls touch scrolling, in case this is a non-interactive layout. Defaults to true.
    • Read capabilities: UI

Methods48

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromUIGridStyleLayout2
Defined byUIPageLayout4
  • UIPageLayout:JumpTo(page: Instance)
    If the page is in the UIPageLayout, then it sets UIPageLayout.CurrentPage to it and animates to it. If the circular layout is enabled, it will take the shortest path to this page.
    • Capabilities: UI
    Parameters
    ParameterDescription
    page: Instance
    The GuiObject sibling to navigate to.
  • UIPageLayout:JumpToIndex(index: number)
    If the index is >= 0 and less than the size of the layout, this method acts like UIPageLayout:JumpTo(). Out-of-bounds indices are wrapped modulo the page count to determine the target page.
    • Capabilities: UI
    Parameters
    ParameterDescription
    index: number
    The zero-based position of the target page in layout order.
  • UIPageLayout:Next()
    Sets UIPageLayout.CurrentPage to the page after the current page and animates to it, or does nothing if there isn't a next page.
    • Capabilities: UI
  • UIPageLayout:Previous()
    Sets UIPageLayout.CurrentPage to the page before the current page and animates to it, or does nothing if there isn't a previous page.
    • Capabilities: UI

Events13

Inherited fromObject1
Inherited fromInstance9
Defined byUIPageLayout3