-
Clamp Expression – Only xClamp works when applying xClamp and yClamp
Hey guys,
here the problem:
I want to limit the scale of my text from min. 45% to max. 85%.
So i tried this expression on the scale:
yClamp=clamp(transform.scale[1],45,85);
[transform.scale[0], yClamp];xClamp=clamp(transform.scale[0],45,85);
[xClamp, transform.scale[1]];Now the xClamp works fine for the x value, but the y value is not affected.
Anyone knows what to do to get the y value affected, too?
Thanks in advcance,
Basti
yClamp=clamp(transform.scale[1],45,85);
[transform.scale[0], yClamp];xClamp=clamp(transform.scale[0],45,85);
[xClamp, transform.scale[1]];