Moving rectangles according to a list

Hello all,
I’m trying to use values in a list to create and move some rectangles.
The rectangles are correctly created : their sizes are 1x1, 2x2, 3x3, 4x4.
The problem is that instead of moving them by these numbers (say 1,2,3,4) the Move command only reads the 1st number. I’d like to move them with say, the same values of each one: 1 for the 1st, 2 for the 2nd and so on.

Thanks !rectangles moved (5.3 KB)

Well, acutally, your script is working as it should (you can even tell from the screenshot).
The first rectangle ist moved one unit on the x axis, the second one two units and so on.

If you want the rectangles to not overlap, pop in a little mass addition.

rectangles moved (7.5 KB)

1 Like

Thank you very much !