I have a setup where a Rectangle Shape size animates according to a text Animator. The text animates in by animating a Range Selector applied to the Scale property (which is set to 0). This all works well, until I try to move the text layer in time: when the text layer starts later in time, the Shape Layer, still takes the sourceRectAtTime().width as if the text layer was still starting at 00:00:00, resulting in a non sync, and therefore a useless animation. Another strange behavior: when dragging the 'End' value of the Range Selector manually, the Shape follows along, no matter what moment in time. But as soon as it is driven by keyframes or expressions, the unsyncness happens. Does somebody know how to force sourceRectAtTime() to always sample the size of a text layer at the current Composition time? Update: I found that when only the inPoint of the text layer is dragged/trimmed, the expression gets confused. Moving the layer, and then adjust the outPoint to make the duration shorter, keeps the expression working correctly. How can we work around this, to be more flexible?
... View more