I made an algorithm to adjust the width and height of the box within a certain area.
And I want to move the box within a certain boundary.
However, I want to limit both of these variables to always be within a certain boundary when they change.
Thank you for your hard work in advance.
sample.gh (19.6 KB)
sample.3dm (144.8 KB)