So I know how to do a i,v loops but I was confused on how to do an i,v loop to make something similar to a UIGridLayout

like here is what I want

for i = 1,10 do

ImageLabel.Position.Y.Scale + .1

end

So on the Y Scale I want every image label to go + .1 on the y axis how would I do this

So If an ImageLabel was .1 on the y axis the next one would be .2 on the y axis and the next one would be .3 on the y axis and keep going on until i = 10

2 comments

0

To move a GUI object you need to use UDim2. https://developer.roblox.com/en-us/api-reference/datatype/UDim2.

0

why not just use a UIGridLayout