-
Need to trigger animation any time there is a marker.
I’m building a template with the goal of the user being able to trigger an animation with one marker. This way all they need to do is add a marker where on the timeline they want the animation to trigger. I don’t want sets of in/out markers – I just want the animation to trigger anytime there’s a marker at all so users have unlimited executions of this animation.
I have it working for specific markers – just missing a reference that I can’t seem to hunt down. This is what I have so far for one property.
This works fine for the first marker, or any other specific one, but I want to extend it to all markers so that it triggers once for every one.
Additionally, I’d love a way to apply this to actual keyframes, perhaps by time-remapping a composition. This way I wouldn’t be limited to the ease expression for my repeating animations. That’s a bit over my head though.
Thanks in advance.
m = thisComp.marker.key(1).time;
ease(time, m, m + 1,[-200],[0]);