How do I make a GUI 'object scroller'?


Take Roblox’s games experiences page for example:

It’s smooth and it reacts based on how far/fast I swipe, in both directions.

How would I go about creating one of these for my own project?

image

1 Like

You could pretty easily use a UIPageLayout | Roblox Creator Documentation for this if you wanted. Some of the events on this object are still broken to my knowledge but I haven’t tested them recently.

3 Likes

As compiler said I would use a UIPagelayout, some things I would like to note though is that unlike scrollingframes where you can set the canvas size to avoid empty space, you cannot easily accomplish this with UIPagelayout, also setting up a UIPagelayout in similar to a scrollingframe requires a weird hierachy structure in explorerer, but the benefits are that its smooth and very customizable such as being able to change the tweening style, it is also possible to accomplish what you want with scrolling frames but requires more work

1 Like

https://developer.roblox.com/en-us/api-reference/class/ScrollingFrame