Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions shape element position

  • shape element position

    Posted by Andreas Glatz on November 19, 2020 at 3:35 pm

    hi,

    i want to read out the position of an element inside of a shape layer, e.g. a circle, path or whatever, in relation to the composition. maybe this was questioned a thousand times, but i can´t find something. would appreciate a hint, thank you!

    andreas

    Matt Volp replied 5 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Matt Volp

    November 19, 2020 at 8:27 pm

    I’m not sure on your use case, but say if you wanted to have a null object locked to the position of Rectangle 1 inside of Shape Layer 1, you could put this expression on the position of the null:

    toWorld(thisComp.layer("Shape Layer 1").content("Rectangle 1").transform.position)

    ‘toWorld()’ converts layer space to world/comp space.

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