Copy link to clipboard
Copied
//alt-click the stopwatch of Mask Path under Mask1 of a text
//paste this code in that expression field
//animate the Anchorpoint to wipe text in and out, Vertical or Horizontal
a = thisLayer.sourceRectAtTime();
x = thisLayer.transform.position[0];
y = thisLayer.transform.position[1];
h = a.height;
w = a.width;
t = a.top;
l = a.left;
createPath(points=[[l,t]+transform.anchorPoint,[l+w,t]+transform.anchorPoint,[l+w,t+h]+transform.anchorPoint,[l,t+h]+transform.anchorPoint]);
Copy link to clipboard
Copied
The x and y line can be deleted.