Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to link layer position to a text animation position.

  • Expression to link layer position to a text animation position.

    Posted by Riccardo Sinti on March 21, 2013 at 3:31 pm

    I have a shape layer that I want to follow along with a line of text animation so that the shape stays aligned with the line of text.
    To elaborate, it’s a two line text layer. I want to be able to animate the positiion of the second line and have my shape layer stay in place with that second line.
    I tried an expression where I created an offset to the shape layer’s position by adding the value of the text layer’s animating position but that didn’t lock it in register with the line.
    Any idea’s thanks!

    Riccardo Sinti replied 13 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 21, 2013 at 4:07 pm

    Something like this didn’t work?

    value + thisComp.layer(“your text layer”).text.animator(“Animator 1”).property.position

    Dan

  • Riccardo Sinti

    March 21, 2013 at 4:46 pm

    Thanks Dan, I guess I over thought it and didn’t write the expression as simply as what you posted.
    This works fine

    Thank You

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