Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects How would you: control the scale of a child, using a null’s scale property, while preserving the anchor of the child?

  • How would you: control the scale of a child, using a null’s scale property, while preserving the anchor of the child?

    Posted by Rob Fisher on May 15, 2013 at 4:02 pm

    I have 100 layers that I want to control the scale of using one Null. But I want each child to scale up using it’s own axis as opposed to the Null’s axis. How would I do this?

    Part 2, how would I do the above, plus have the scale of each child staggered over time?

    Thanks so much, I’ve looked around and I can’t find the answer, but this must be possible. I am trying to avoid manually key framing each layer, since there are a lot of them, and the timings will change.

    Ridley Walker replied 13 years, 2 months ago 2 Members · 5 Replies
  • 5 Replies
  • Ridley Walker

    May 15, 2013 at 5:23 pm

    If all you’re doing with the Null is scaling, don’t parent the layers, use an expression linking the scale of the null to the scale of the other layer’s.

    Even if you’ve built the rig, you can write the expression once for one layer, then copy and paste it to all the other layers in one step.

  • Rob Fisher

    May 15, 2013 at 5:52 pm

    Good point. I can’t simply link the scale property of the children to the scale property of the null because each of the 100 children has a different scale value.

  • Ridley Walker

    May 15, 2013 at 6:15 pm

    Then use this script:

    value + thisComp.layer(“Null 1”).transform.scale

    It will add the layer’s current scale value to the value of the null’s scale.

  • Rob Fisher

    May 15, 2013 at 6:17 pm

    that’s so simple, thanks! any clue on how to vary each layer over time as I’ve asked for in my part 2? so that I can have 1-100 cascading based on the key frames of the null but over time?

  • Ridley Walker

    May 15, 2013 at 6:39 pm

    Depending on how you have the layers set up, the each layer’s scale could be linked to the layer above it and use an expression slider connected to a valueAtTIme function.

    Perhaps this would work for you:

    6010_valueattimecs5.5.aep.zip

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