Can u make to scroll more on a scrolling frame?

Make sure you’re using some sort of Layout system, as it’ll make it A LOT easier to do this. I had a fairly rough idea on what to do, but I wasn’t sure. Did a quick dig for you, and found a thread for reference as well as pinpointed the code that was marked as the :white_check_mark: Solution.

Try this:

script.Parent.UIGridLayout.CellSize = UDim2.new(0,math.floor(script.Parent.AbsoluteSize.X/5)-1,0,math.floor(script.Parent.AbsoluteSize.X/5)-1)

Or, if you prefer:

You may have to alter it a little bit to get the expected results, but this should work (as long as you’ve got things like the child-parent hierarchy right with the UIGridLayout, etc)

1 Like