FORUMS: list search recent posts

Timed Opacity expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Roy van Venrooij
Timed Opacity expression
on Apr 15, 2016 at 9:08:32 am

Hi all.

I'm a bit of an expression noob so forgive me if the answer is obvious.

I use this to check if the layer has any text, if it does the layer becomes visible. works a charm.

However the text layer is a subtitle which pops in and out quite a lot, causing the textbox to do the same.

I was wondering if it is possible to build in some sort of delay to the code so the box stays on 60 opacity for a time after the text has gone?

Thanks

temp = thisComp.layer("&lt;empty text layer&gt;").text.sourceText;
textviz = temp.length;

if (textviz > 0) 60 else 0


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]