Parametric Facade Issues (with the move node)

Hello everyone.

I am new to Grasshopper and I am trying to create a script for a facade containing windows. I took help with the script from this forum as well. However, I am trying to move the windows (in the script they are linked only to z-axis as highlighted) but I want them to move in x-direction also. I have tried using x-vector but it moves only one rectangle (window). Also, I would like to draw lines connecting points in vertical and horizontal directions. I was using List Item to extract points but it did not work for me. Could you please help me with these problems?



Looking forward to your kind responses!

Thanks a lot!
Facade_Parametric.gh (10.1 KB)