Carousel scrolling frame

Hi folks,

I have a ScrollingFrame that dynamically sizes based on children. I want to create a carousel effect where the player can scroll past the lower limit and begin at the top or vice versa, with appropriate children entries showing.

My only thought is to repeat options at both ends and then force-set the canvas position past a certain threshold. Is there a better method? I haven’t found much useful discussion on this.

Cheers!

Try setting the CanvasPosition once you get to the bottom:

https://create.roblox.com/docs/reference/engine/classes/ScrollingFrame#CanvasPosition

Yes, to be clear on this:

My only thought is to repeat options at both ends and then force-set the canvas position past a certain threshold.

It would be the use of CanvasPosition. The need for duplicate options is so the illusion isn’t broken of jumping in scrollposition. Straightforward enough, perhaps there’s a more elegant solution?