-
triggering keyframes with an expression
Hello.
I am trying to trigger an expression (or simply keyframes) using a slider.
I am making a graphic sliding scale consisting of a line of squares. I want to be able to increase a slider, and have each square animate when it’s respective number is passed on the slider.
So far, I’ve got them wobbling using an expression I got from Dan Ebberts at Motion Script.
But now I want to fade out a color overlay layer style’s opacity when the square is triggered.
Basically I need an expression that says:when SliderValue > X turn ColorOverlay to 100% and then fade out slowly over time.
If SliderValue < X turn ColorOverlay to 0Any thoughts? Thank you