ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

opacity expression question.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tintin Lei
opacity expression question.
on Sep 9, 2019 at 8:26:30 am

(Not a native English speaker, writing may contained error, hope you can understand it and help me.)

I have a comp with blinking text in it.(can't upload image)

I want the opacity of text gradually going from 0 to 100, while it disappear every second frame(transparency 0)

Can't figure out how to write if else expression. Hope somebody help.

Thanks a lot.

Return to posts index

Dan Ebberts
Re: opacity expression question.
on Sep 9, 2019 at 5:21:28 pm

I can't tell if this is what you're describing, but give it a try:

rampTime = 2;
t = time%rampTime;
f = timeToFrames(t);
f%2 ? 0 : linear(t,0,rampTime,0,100)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved