-
sourceRectAtTime always returning full size of text layer
Hi all,
I’m trying to dynamically size a shape layer as a background for a text layer.
However I want this text layer to type itself out word-by-word, so I’m using an opacity animator on the layer.
But it seems as if the .SourceRectAtTime function is returning the full size of the text layer even before the words have appeared via the animator. I want the shape layer to only be the size of the portion of text that has already appeared.
Is there another function I should be using instead of SourceRectAtTime?
Ultimately this is going to be for a mogrt file otherwise I’d just hand-animate the shape layer, but I need to do it procedurally for this project.
Thanks