Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects › Auto adjust shape layer with text?

  • Auto adjust shape layer with text?

    Posted by Richard Williams on August 21, 2020 at 10:01 pm

    Hi,

    Is there a way of automatically adjusting the size of a shape layer with text?

    I’ve created a simple animation with three rectangles which expand in size and then contain some text. This text will change for each video and I’m currently having to manually adjust the key frames every time so that the rectangle edges are the same distance from the end of the text which is a pain and fiddly.

    I hope that makes sense. Thanks in advance for any help.

    Richard Williams replied 6 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Graham Quince

    August 23, 2020 at 1:26 pm

    Funnily enough I’m currently editing my next tutorial which covers this very thing (I really should be doing the tutorial instead of browsing through the COW of course, but my loss, your gain ? )

    Paste something like this into the path size

    X = thisComp.layer("Comment").sourceRectAtTime().width;
    Y = thisComp.layer("Comment").sourceRectAtTime().height;
    [X,Y]

    http://www.YouTube.com/ShiveringCactus – After Effects Tutorials

  • Richard Williams

    August 23, 2020 at 7:58 pm

    Thanks for taking the time to post. Yeah, I managed to find a couple of tutorials on YouTube which have pretty much done the trick I think. The shape layer disproportionately enlarges with letters like ‘y’ and ‘g’ and ‘j’ which is annoying but otherwise it works well.

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