ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Expression to use markers to control opacity

COW Forums : Adobe After Effects

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


Graham Quince
Re: Expression to use markers to control opacity
on Dec 8, 2019 at 11:36:49 am

Try something like this, from Dan Ebberts:

L = thisComp.layer("Control");
if ((L.marker.numKeys > 0) && (numKeys > 2) && (time > key(2).time)){
t2 = key(2).time;
t3 = key(3).time;
tm = L.marker.key(1).time;
t = linear(time,t2,tm,t2,t3);
valueAtTime(t);
}else
value

https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=3712...

http://www.YouTube.com/ShiveringCactus - Free FX for amateur films
http://shiveringcactus.wordpress.com/ - FX blog


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]