Hey everyone, So I’m working on a new game and I’m stuck on this one part. Dose anyone know how to make the items inside the frame go in price order because each time I play the game they are always in a different order. I also cant figure out how to make all the item fit in the frame because as you can see I cant scroll down anymore but there is still an item below. Thanks!
1 Like
You can set the LayoutOrder of the items in the frame. Lower numbers will be displayed first.
You can make the ScrollingFrame dynamically scale with the size of its contents by setting ScrollingFrame.AutomaticCanvasSize
to Y.
Ok so frame now scales automatically but for the items when they are put in the frame they still wont go in like price order I have a bunch of tools in a folder that get put into the scrolling frame and in each tool is a number value with the price I want them to go in order based on that is there anyway to do so?
When you’re putting them into the frame, try setting the LayoutOrder to the price of the item.
1 Like