Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › How to “make mirror like” motion within an expression?

  • How to “make mirror like” motion within an expression?

    Posted by Jakub Korselt on January 9, 2018 at 9:42 am

    Lets say i have got some object in comp which moves between two keyframes and i would like somehow to connect another object to that one but make the motion opposite one… only on one axis.

    example:

    object 1 is falling from top to bottom where will be the mirror. And i am wondering how to write some script right?

    Please help me! any advance will be helpful

    Anthony Tonev replied 8 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Anthony Tonev

    January 12, 2018 at 6:10 am

    Only on Y axis.

    y = -thisComp.layer("layer name").transform.position[1];
    x = transform.position[0];
    [x,y]

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