How do I make a ScrollingFrame like TBB?

How do I make a ScrollingFrame like this?

My guess is; 2 frames one with clip descendants on another holding the images with a ui list on. Then in a script listen for scroll down or up. When it detects a scroll either increment or decrement a value which controls the offset of the list frame. Use tweens for animation, also add a control timer that only updates the frame X seconds without an input after an input. So it prevents spam and tweens glitching out. Alternately use Lerps.

I cant verify this right now but once im home i will try making a demo and will post here.

1 Like

This feels more like a UIPageLayout instead of a ScrollingFrame. Maybe try looking into those.

2 Likes

At the scrolling frame, theres a thing called canvas size, you change it for the X scale, so u can do:
image
and then you place a UIListLayout, this will do what you want.

No, that’s not what I need. What I need is to automatically move to the nearest item after I stop scrolling. (It’s a bit hard for me to describe)

It works, and you only need to use UIPageLayout in a Frame.

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