Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Masks+sourceRectAtTime

  • Masks+sourceRectAtTime

    Posted by Nick Kennedy on February 19, 2021 at 2:17 pm

    Hallo, I have to make some MOGRTs. I have a simple (left justified)Text
    which, when changed should extend the width of the Text Box (to the
    right) and the MaskLayer revealing the Text. Should be simple but I’ve
    been provided with a Photoshop File(With the colour of the text Box)
    with a Mask on it and this Mask has been animated. Can I use
    sourceRectAtTime with a mask? How would I go about doing this? Any help
    would be much appreciated.Thanks

    Trent Armstrong replied 5 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Trent Armstrong

    February 19, 2021 at 2:57 pm

    Nick,

    I have been straying away from using masks more and more lately in favor of using Shape Layers and Track Mattes or the Set Matte effect. Shape Layers are much more animatable and expressionable.

    It’s possible to set the Anchor Point of the Shape Layer to always move to the far left so you can use sourceRectAtTime() to have the Shape read the width of the text and adjust itself.

    Animating it might be just using ease() to get from the first width to the sourceRectAtTime().width.

    Let us know if you get into the weeds and need a little more help.

    Trent

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy