Mastering Marker Triggers: Unlock Dynamic Animation in AE!

4 min
Details (4 min read)

A boilerplate expression for triggering specific actions or events at designated markers in your timeline. It’s versatile and can be applied to any animatable property to activate actions at specific points in time.
n=0;
if(marker.numKeys>0) {
n=marker.nearestKey(time).index;
if(marker.key(n).time>time) {
n–;
} if(n==0) {

Get 10% off when you subscribe to our newsletter

By subscribing you agree to your email being stored and used to receive the emails in accordance to our Privacy Policy
descount

value;
} else {
t=time-marker.key(n).time; //time since marker
// your expression
frequency = 2; // wiggles per second
amplitude = 40; // amount of pixels to wiggle
secondsToLoop = 2; // time to loop in seconds
// ——–
t = time % secondsToLoop;
wiggle1 = wiggle(frequency, amplitude, 1, 0.5, t);
wiggle2 = wiggle(frequency, amplitude, 1, 0.5, t – secondsToLoop);
x = linear(t, 0, secondsToLoop, wiggle1, wiggle2);
x; }
} else {
value;
}Pro tip: Go to AEJuice Pack Manager – Expressions Pack to apply this expression in 1 click. Here are direct links for the latest plugin version:

-50%
-50%
00hrs : 00mins : 00sec
Happy HolidaysSale sitewide
Shop now

Our Bestsellers

Summary ( min read)

Our Bestsellers