Skip to main content
Participant
February 21, 2018
Question

Animated counter, how to edit!

  • February 21, 2018
  • 3 replies
  • 3877 views

Hi,

I have a text animated counter that I downloaded, which has an animated text counter, going from numbers 0-67, using Expression: Source Text

The code

thisComp.layer("CONTROL").effect("PERCENTAGE 1")(1).value.toFixed(0)+ "%";

How do I change this, so I can have an arbitrary end value such as 125 etc.?

Thanks.

    This topic has been closed for replies.

    3 replies

    Liran Tabib
    Inspiring
    October 1, 2020

    Hi Adrian

    I've created a Counter Preset that does exactly that it's, it started as a small expression but over time it became vast enough to use it for any counter animtion so I use it quite a lot in my line of work.

    Liran

    Participating Frequently
    November 14, 2020
    “After Using this AMAZING Preset, I’LL BE BACK to use it on every project”

    arnold schwarzenegger,  June 2057

     

    HAHAHA awesome thanks!

    Inspiring
    February 21, 2018

    I don't know where you downloaded it from.
    Could you provide a screenshot?
    If you can't post a screen for some reason follow this tutorial on how to make
    one yourself!
    Animated Number Counters - After Effects Tutorial (No Third Party Plugin) - T073 - YouTube

    Cheers!

    Community Expert
    February 21, 2018

    I take it that you have an Effect Control slider added to the text layer named PERCENTAGE. If that is correct and there are no other lines in the expression then the slider has two keyframes. You will be able to see them by selecting the text layer in the timeline and pressing the U key twice. This will show you any modified properties in the timeline. The value of the keyframe will be zero, the value of the last keyframe would be 67. Change the value of the keyframes or set new ones by moving the slider or entering new values and you end up with new numbers.

    This is really basic stuff. Either you are very new to AE or you have left out a bunch of information about the comp setup.

    Participant
    February 22, 2018

    Thanks, I figured this one out finally.

    To Rick, if you are going to contribute here, I would suggest that you refrain from posting slightly obtuse remarks such as, 'this is really basic stuff'.

    I have some 20 year's experience using Adobe's core design apps – InDesign, Illustrator & Photoshop – in the design industry; when teaching users, I try to be helpful - not condescending.

    Community Expert
    February 23, 2018

    I thought this was a forum to help each other. Not to "scream" at eachother virtually.

    I hope your question is answered @adrianf5676415


    Wow, I guess I should sign up for sensitivity training. Did not mean to send someone to counseling because I suggested that they study the basics. I guess I am a little insensitive because for the 48 years I have been making my living making movies and taking pictures and many many people have helped grow by telling me I was doing something wrong or that I did something stupid. I appreciated the swift kick in the pants. A couple of times it kept me alive. I promise I will try harder to for others so they will not have to learn to do for themselves.

    Aw... I have probably offended somebody again.