-
start animation before the marker that triggers it
I’m not sure if this is possible.
I have precomped animation that is played whenever there is a marker in the main composition.
n = 0;
if (thisComp.marker.numKeys > 0){
n = thisComp.marker.nearestKey(time).index;
if (thisComp.marker.key(n).time > time){
n--;
}
}
if (n == 0){
0
}else{
m = thisComp.marker.key(n);
t = time - m.time;
}what I need though is for the animation to start and reach certain time by the time it hits the marker. (I use this animation as a transition between 2 compositions I modify every week and being able to place a marker right where the two clips meet, would be more convenient than duplicating the transition animation and moving it in place, carefully aligning the moment this animation covers whole screen with the point two clips are meeting..)
To make it simple, I attached test project. I need the bubble in it to be yellow right at the point where marker is, just by starting the animation a bit sooner.
9511_bubbletest.aep.zip