Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions how to pick scale and position

  • Miguel De mendoza

    December 17, 2015 at 1:16 pm

    Try this:

    max = thisComp.height;
    magnitude = 0.1;
    masterPos = transform.position[1]; //Or the position you want to follow
    posY = (masterPos - max)* magnitude ;

    [posY, posY]

  • Dmitry Yurin

    December 17, 2015 at 1:35 pm

    does not work (
    i need expresson for the scale of layer “Number”
    something like this:

    if position of the “arrow” > ( 500, 500 )
    scale of the layer “Number” = 100
    else
    scale of the layer “Number” = 50

    https://i.imgur.com/uGtRnKc.png

    View post on imgur.com

  • Miguel De mendoza

    December 17, 2015 at 2:00 pm

    Write this on the number scale then:

    arrowPos = thisComp.layer("arrow").transform.position[1];
    if (arrowPos > 500) {
    [100, 100];
    } else {
    [50, 50];
    }

  • Dmitry Yurin

    December 17, 2015 at 2:09 pm

    Yes, but how i can get smooth animation. Now this is step animation

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