UiListLayout but for parts

I am trying to make Ui list layout, but for parts, you know how there’s UI positioning based on how many there are? i am trying to figure out its formula so i can replicate it

1 Like

Probably

(PartSize * Index) + (Padding * Index-1)

1 Like

wouldn’t you need a center? how would i put in the center?

1 Like

Calculate the total area that the parts take, the divide it by 2

1 Like

did you mean partsize as in the part getting placed or the space allowed for parts to spawn in?

1 Like

To get the size you’d wanna do

Part.Size * LayoutDirection

1 Like

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