Copy link to clipboard
Copied
Created an expression slider to control an object's scale. I worte this code and have no idea where's wrong.
In your second line, replace the square brackets with parens, like this:
var a = linear(x, 0, 100, 0, 60);
Copy link to clipboard
Copied
In your second line, replace the square brackets with parens, like this:
var a = linear(x, 0, 100, 0, 60);