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 4:45:26 pm

That's a little vague, but see if this does what you want:


m = thisComp.layer("0").marker;
if (m.numKeys > 1 && numKeys > 0){
t = linear(time,m.key(1).time,m.key(2).time,key(1).time,key(numKeys).time);
valueAtTime(t);
}else
value



Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]