Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Automatically move one layer position based on size of text layer

  • Automatically move one layer position based on size of text layer

  • Andrew Ross

    January 16, 2021 at 2:36 pm

    Hi there.

    I have a name strap designed and it would be ideal if I can get some expressions working on it to simplify the workflow when hundreds of these need to be produced.

    I’ve attached an extremely simplified breakdown of it for example purposes.

    There are two lines. Line 1 – the top line will be the persons name and Line 2 – the bottom line will be the job of that person. The red object in the example is a design I’m using in the name strap that will fade on and animate on from right to left into position whilst revealing Line 2 as it goes.

    The red object animates on from the right edge of Line 2, no matter how long Line 2 is, whether it’s 4 characters in length or 100 characters in length.

    <font face=”inherit”> It would be great to have an expression that has the red object finish it’s animation at frame 20 always in the same position but that links it’s starting point to the right edge of Line 2 so that </font>when<font face=”inherit”> multiple name supers are created, the red object starts it’s animation at </font>the<font face=”inherit”> right edge of Line 2 no matter the </font>length<font face=”inherit”> of the text layer. </font>

    Does that make sense and is this possible?

    Many thanks in advance.

  • Andrei Popa

    January 18, 2021 at 9:28 am

    I cant see the picture.

    Do you want an expression that moves a solid from the right edge of a text to a value that you assign as stop value?

  • Andrew Ross

    January 19, 2021 at 9:06 pm

    Hi Andrei

    Thanks for your response. Apologies for not being able to see the image, I’ve just tried to upload it again but it doesn’t seem to be working properly.

    However, you are correct in that I would like the solid at FRAME 0 to always look for the right edge of a text layer and then for me to be able to assign an X value as the stop value at FRAME 20. Therefore starting off at the right edge of the text layer and animating across the screen revealing the text layer beneath it.

    Thanks again

    Andrew

Viewing 1 - 3 of 3 posts

Log in to reply.

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