ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Link two markers to two keyframes

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Ebberts
Re: Link two markers to two keyframes
on May 22, 2020 at 6:03:08 pm

Ah, OK. I thought you wanted to control the duration with the duration of a sjingle, split marker. If you're using two markers, try this instead:


if (marker.numKeys > 1){
t1 = marker.key(1).time;
t2 = marker.key(2).time
linear(time,t1,t2,t1,0).toFixed(1);
}else
0



Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]