Frame position responsive to other elements

I have this SurfaceGui, where I can add items in a grid layout but I have a problem where if I add too many items they get blocked by the frames underneath, how can I make the position of the bellow frame be responsive to the stuff above?

1 Like