-
Color blinking expression
Hello!
I feel like this is a simple expression and I’ve tried writing it but with no luck.
Basically, I’m trying to have a color fill in a shape layer blink between two colors.
I have this expression for blinking but not sure how to apply it to color fill:
blinkSpeed =30;
n = Math.sin(time*blinkSpeed);
if (n<=0) 0 else 150;My guess is that the “0” should be the first color information and the “else 150” part should be the other colors information?
Any help is much much appreciated!