Hi Everyone,
I am a total noob at expressions. I would like an expression very similar to the one Dan provided in this post, but I would like the opacity to change from 0 to 100 over 12 frames (f=12) at the first marker, 100 to 30 at the second marker, and 30 to 0 at the third marker.
I am not sure how to write the condition for the if and else if part of the code, or if this is even the best way to write an expression that will accomplish my goal.
Thanks!
Steve
if (marker.numKeys > 0){
m = marker.nearestKey(time);
t = m.time;
f = 12;
if ( ??? ){
ease(time,t,t+f*thisComp.frameDuration,0,100)
}else if ( ??? ) {
ease(time,t,t+f*thisComp.frameDuration,100,30) }
} else {
ease(time,t,t+f*thisComp.frameDuration,30,0) }
}else{
value
}