It worked when I changed the code from “if (n > 0 && t < 1)” to “if (n > 0 && t < 1)”. Replacing just the ampersand before the “lt” still was erroring out.
This is expression is great to go between two values, but I really need to start the scale from 100%, going up to about 130%, then back to 100%, like a pulse. Is that possible with a tweak for this code? Also, is it possible to apply this expression to 50 other layers so it’s randomized?