How can I increase the distance between objects related to each other?
I have 10 rectangle objects with different heights in display and I want to make the distance between each other releated to height of each one. For example I need to place the second rectangle after first rectangle depends on height of first rectangle + 50 on y axis
I do this code , but I got error
For I=1 , 10 do
Rect1[i+1].y = 50 + Rect1[i].height
end
Can you demonstrate my issue?
Anther question:
If any one of rectangle is deleted by user I want to re arrange the distance between them again
I think my question is clear to your .