Failing attraction point

I’m trying to make a parametric pattern with some squares, I don’t really know what’s wrong with my code, I followed a good amount of tutorials, and I’m really not sure why it just doesn’t work.

The line is a floorplate, I made it into a point cause I thought it would be easier.
but I just wanted the squares to get bigger as it got closer to that floorplate. (526.6 KB)

Please do not open a new thread, continue from there.
Attraction parametric - Grasshopper - McNeel Forum

1 Like