ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

sourceRectAtTime does not work with text animators

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
David Cabestany
sourceRectAtTime does not work with text animators
on Jul 30, 2019 at 8:18:35 pm

I'm using sourceRectAtTime with some text layers. As I type the text I can see the background layer growing accordingly, however when I add a text animator so I can have the text build over time the background layer stops animating, it still recognizes the boundaries of the text layer via the sourceRect... expression but it does not animate its size over time.

Every single example I've seen online shows this is possible, but when I add the animator, either with keyframes or expressions it just freezes.

Any idea why? I'm using CC2019.

Below is the expression I'm using.

s=thisComp.layer("xp").effect("Layer Control")("Layer");
x=s.sourceRectAtTime().width;
y=s.sourceRectAtTime().height;
[x,y];


Return to posts index

Dan Ebberts
Re: sourceRectAtTime does not work with text animators
on Jul 30, 2019 at 11:01:39 pm

I don't think it will work with an Animator. I think you have to actually manipulate the source text to create your type-on effect.


Dan



Return to posts index

David Cabestany
Re: sourceRectAtTime does not work with text animators
on Jul 30, 2019 at 11:05:30 pm

It does, only not with opacity, even at 0% it still reads the characters as fully being there. I changed my animator to scale instead of opacity and it works as expected.

There are a ton of limitations with this expression, with all the fiddling that has to be done is not that useful.


Return to posts index

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