Forum Replies Created

  • Thanks, Dan, that’s exactly what I was looking for!
    For future reference, would there be a way to use the null’s rotation to control the scale effect on an angle?

    Justin

  • Hi Dan – long time listener, first time caller.

    I’m trying to modify this particular script to use a null object’s position to change multiple shape layers’ scale.
    All shape layers that have this script grow as the null approaches them, but instead of referencing the null as a single point (x and y position), I’m trying to scale the shape layers along the null’s y axis so no matter where I move the null on the x axis, all shape layers above and below will be scaled.

    Thanks for your help!

    transDist = 200;
    target = thisComp.layer("Dot Target 01").transform.position
    d = length(transform.position,target);
    mult = ease(d,0,transDist,3,1)
    value * mult

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