Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Animated Number equals Scale Value with Wiggle

  • Animated Number equals Scale Value with Wiggle

    Posted by Scott Green on February 10, 2017 at 2:37 pm

    I’m changing the scale of a simple shape using the uniform wiggle expression

    w = wiggle(5,5);
    [w[0],w[0]]

    I’d like to animate a number that shows the scale value ie. the number displays “100%” when the shape is at 100% scale, the number displays “47%” when the scale of the shape is at 47% etc.

    How can I achieve this? Is there an option to include decimal points or not too?

    Thanks in advance,
    Scott.

    Motion Videos UK – We are creative video designers who bring pleasure, meaning and beauty to our small world through film, motion graphics and animation.

    Scott Green replied 9 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Emre Anil

    February 11, 2017 at 4:44 pm

    Create a text layer and add the following expression to it’s Source Text (.toFixed(2) sets the decimals to 2 digits):

    thisComp.layer("Shape Layer 1").transform.scale[0].toFixed(2)

  • Scott Green

    February 13, 2017 at 9:27 am

    Beautiful ☺

    Many thanks.

    Motion Videos UK – We are creative video designers who bring pleasure, meaning and beauty to our small world through film, motion graphics and animation.

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