Skip to main content
Known Participant
September 8, 2022
Question

Tutorial: Self-Wiping 1-Layer Text

  • September 8, 2022
  • 1 reply
  • 280 views

//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]);

This topic has been closed for replies.

1 reply

Known Participant
November 9, 2022

The x and y line can be deleted.