Parametric Surface (Kinetic)

I am attempting to create a canopy that is made up of a grid of squares that can open and close, which works, but I want the results of the radiation analysis to change the scale of each square. Is it possible to do something like that? If not, I’m trying a simple attractor point and distance to change the scale, but when I plug it into the script there is no change. I circled the component (scale) in the script for reference. I’m not sure if the projection of a grid is causing the issue. (459.9 KB)