Make parameter value for coordinates system

Hi :grinning:
I want to change the y and z points value to parameter value with slider.
But I can’t find method. Please help!


This is the points of a polygon, and I want to change Y points.
like this : [2.05, 1.75, 0, -1.75, -2.05] → [W2/2+W1, W2/2, 0, -(W2/2+W1), -(W2/2)]
and make slider for W1 and W2 only, then when I adjust slider, I hope that those points values are calculated automaticaly.
How could I do?? please help…

Type your formulas into a code block like that, and wire in sliders for the two inputs.

oh, thank you!
I didn’t know how to use codeblock with coordinates system, now I got it :grinning: