Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression driven shape layers

  • Declan Zimmermann

    February 27, 2014 at 9:52 pm

    Hi Mike,

    It would take some doing to link all the bricks but it is perfectly possible.

    In a simplified example with Brick1 and Brick2, you will need to first set Brick2’s X position by the sum of half the widths of each Brick.

    Here is a simple project file:

    7165_expressionbricks.aep.zip

    You may still need to manually keyframe the master position, since different bricks take precedence in driving the overall position at different points in the animation.

    But hopefully this will get you started.

    Declan

    Xpos1 = content("Brick1").content("Rectangle Path 1").position[0];
    width1 =content("Brick1").content("Rectangle Path 1").size[0];
    width2 = content("Brick2").content("Rectangle Path 1").size[0];

    Xpos2 = Xpos1+ width1/2+width2/2;

    y= 0;

    [Xpos2,y]

    Declan Zimmermann
    Design & Motion
    motiongraphicsnyc.com
    twitter: @MographNYC

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