UIPageLayout "Object passed to UIPageLayout JumpTo is not part of the layout"

Code in question:

local root = script.Parent
local buttons = root:WaitForChild("Sections")
local pages = root:WaitForChild("Pages")
local uipagelayout = pages:WaitForChild("UIPageLayout")

local current_button = buttons:WaitForChild("Inventory")

uipagelayout:JumpTo(pages.Inventory)

Explorer in question:
image

1 Like

Found the problem!

Turns out all the GuiObjects in the layout must have .Visible = true!

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.