How to Animate a Number Counter in After Effects CC 2019 (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

ความคิดเห็น • 167

  • @TechInfusion
    @TechInfusion  5 ปีที่แล้ว +22

    Thanks for watching guys, I really appreciate the support!
    Do you guys want to learn more about expressions?

    • @shannehodgson4534
      @shannehodgson4534 4 ปีที่แล้ว

      Great tutorial thanks man

    • @didiana175
      @didiana175 3 ปีที่แล้ว

      yes!

    • @mysteriumxarxes3990
      @mysteriumxarxes3990 2 ปีที่แล้ว

      yes, I wanna know how to add a dot after 3 numbers (like 1.000.000) and how to use more numbers (instead of starting at 0, start at 00, and go like 01, 02, 03 and on. or 000, or even 0.000)

  • @wunba
    @wunba 2 ปีที่แล้ว +1

    Is there any way to have the numbers centered? So that when an additional digit appears the whole expression moves to the left. I have tried the align feature and the anchor point but nothing works.

    • @DavidBallard23
      @DavidBallard23 ปีที่แล้ว

      Click on paragraph left and it stabilised it for me

  • @lukecarter9005
    @lukecarter9005 3 ปีที่แล้ว +7

    Is it possible to add in a comma after the third digit, once it gets there. i.e. you count from 1 to 1,400 but I want the "," to appear when appropriate...?

  • @flyinganchovy5267
    @flyinganchovy5267 3 ปีที่แล้ว +1

    how would you make it look like minutes?.... like 5:57. so I'd need to add in the : between numbers.

  • @nickjames5602
    @nickjames5602 3 ปีที่แล้ว +13

    Awesome tutorial, thank you! How do you enable commas in that expression? To display for example 10,000 as opposed to 10000? Thank you in advance.

    • @CentaurusRelax314
      @CentaurusRelax314 3 ปีที่แล้ว

      Yes, please-did you get an answer? I need this NOW!

    • @helloadventureco.1644
      @helloadventureco.1644 3 ปีที่แล้ว +1

      Found this: th-cam.com/video/5WJmrYMifW8/w-d-xo.html

  • @bassert1966
    @bassert1966 2 ปีที่แล้ว

    Hi! How can I add a colon (:) between the digits? Like 06:00... Thanks!

  • @rangerreview1780
    @rangerreview1780 ปีที่แล้ว

    I have a question. You showed ways to add symbols in front and at the end of the numbers. But is there a way to add something in between. I wanted to do a animation of a scale line going up for a piece of lumber. I want it to look like 1'10" (1 foot 10 inches). Is there a way to change the decimal to a foot symbol.

  • @barrywygel8969
    @barrywygel8969 3 ปีที่แล้ว +1

    Any way to add a comma to numbers over 1,000?

  • @tob_express
    @tob_express 2 ปีที่แล้ว

    very nice tutorial thank u so muchh

  • @Wheeelie402
    @Wheeelie402 4 ปีที่แล้ว +7

    I greatly appreciate this tutorial! Is there a way to keep the numbers centered as they increase?

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว +3

      I believe if you move the anchor point to the middle it’ll recenter itself.

    • @cristinabarna7632
      @cristinabarna7632 3 ปีที่แล้ว +1

      If you change the paragraph setting to the text layer itself to be centered, then the count up should behave the same way :) Kinda like if you change the font or any other text property

  • @adricspiteri1908
    @adricspiteri1908 ปีที่แล้ว

    Simple. Thank you so much for this clear tutorial!

  • @alexspinola4835
    @alexspinola4835 4 ปีที่แล้ว +6

    what if I want my counter start with a double zero (00) rather than 1 zero?

  • @vicenteziegler
    @vicenteziegler 3 ปีที่แล้ว

    THANK YOU SOOOOOOOOOOOOOOOO MUCH, i was trying a lot of complicated solutions, so thank you, you made my day!

  • @wonderfulworld5366
    @wonderfulworld5366 7 หลายเดือนก่อน

    cool video. But i have a question: the percentage icon suddenly disappears when it reaches 100. what could be the problem? thanks for the reply.

  • @aboodgaming1408
    @aboodgaming1408 2 ปีที่แล้ว

    i love you bro you solved my big problem . i taken project from supreme surf company ad this was the lst animation which was left and now it is solved thanx bro

  • @csar9097
    @csar9097 2 ปีที่แล้ว

    Wow! A tuturial direct to the point! thanks!

  • @AlonsoMontero
    @AlonsoMontero 3 ปีที่แล้ว

    Super helpful, thanks so much!

  • @Willopo100
    @Willopo100 8 หลายเดือนก่อน

    how do I fix the decimal point in place so it never moves?

  • @ohhlena1460
    @ohhlena1460 2 ปีที่แล้ว

    thank you so much this was helpful and short

  • @kelliupshur
    @kelliupshur 4 ปีที่แล้ว +2

    I'm getting an error: invalid numeric result (divide by zero) every time I try to input "$" + effect("Slider Control")("Slider").value.toFixed(0);

    • @julianabz
      @julianabz 4 ปีที่แล้ว

      hello, i'm a newbie but this error isn't because you are using spaces between " and +?.. i tried right now and worked. in my case i use the plus sign: ...... "+"+effect(" ....... all together. i don't know, maybe this is your problem too. sorry my english

  • @jimsullivanyoutube
    @jimsullivanyoutube 2 ปีที่แล้ว

    How do I add a thousands seperator?

  • @MarViLand
    @MarViLand 2 ปีที่แล้ว

    Thank you very much, you save my evening.

  • @matric8130
    @matric8130 2 ปีที่แล้ว

    Can we do this in a website which already has numbers ? And want to run those numbers by editing , if so how ?
    Can you please tell

  • @magnetic_heart
    @magnetic_heart 2 ปีที่แล้ว

    Prob a shot in the dark given the age of this video, but how would you do this if you wanted it to read as a digital clock?

  • @adamphillips6747
    @adamphillips6747 4 ปีที่แล้ว

    Is there are way to put a Character before the negative if a number goes to negative?

  • @precious.xoxo__
    @precious.xoxo__ 3 ปีที่แล้ว

    Can you set this to skip numbers? Like count down by every n numbers instead of just regularly by 1

  • @bananasunshine7570
    @bananasunshine7570 3 ปีที่แล้ว

    You’re the best. Simply the best, as Tina would say.

  • @ChrisOliver4307
    @ChrisOliver4307 3 ปีที่แล้ว +1

    Any way to add a comma once the number gets to 1,000?

  • @mysteriumxarxes3990
    @mysteriumxarxes3990 2 ปีที่แล้ว

    its not creating an expression when I click on the clock icon next to source text

  • @nastiasverenyak2560
    @nastiasverenyak2560 4 ปีที่แล้ว +2

    thank you so much for this tutorial!

  • @gabrieldusk
    @gabrieldusk 2 ปีที่แล้ว

    Can we animate with easy ease?

  • @andyb4444
    @andyb4444 3 ปีที่แล้ว

    How do you add a comma after thousands, or hundreds thousands

  • @CharlizeMatthee
    @CharlizeMatthee 3 ปีที่แล้ว +1

    Hi there, I am late to the party. I would like to know if you could tell me how I would create a space, instead of a comma after my thousands. i.e 0 to 80 000. My slider works perfectly, but I don't know how to alter the expression to add that space once it hits the thousands. Please if you could assist, that would be super amazing.
    Kindest regards

  • @fcam
    @fcam 3 ปีที่แล้ว +1

    for triple digits counter animation effect in #aftereffects
    x=Math.round(effect("Slider Control")("Slider")).toFixed(0);
    while (x.length < 3) x = "0" + x; x

    • @heyaoh5616
      @heyaoh5616 2 ปีที่แล้ว +1

      Thank you so muchhhhhh

  • @velrethar
    @velrethar 2 ปีที่แล้ว

    Awesome succinct tutorial on this. Thanks for the info!

  • @jengoldstein8113
    @jengoldstein8113 5 ปีที่แล้ว +5

    I want my % symbol after the number to be smaller, superscript How do I do this?

  • @michaelak99
    @michaelak99 2 ปีที่แล้ว

    How do I make it in After effects so that the % doesn't shift to the right when it counts up from 9 to 10?

  • @stonehousy
    @stonehousy 2 ปีที่แล้ว

    hey, thank you for tutorial! one question: is it possible to make a counter like that with data from an excel table which is not proportional?

  • @sardarmoynulkabir2112
    @sardarmoynulkabir2112 3 ปีที่แล้ว

    Thank you for this Tutorial

  • @BrodyLando
    @BrodyLando 5 ปีที่แล้ว +1

    Great video dude. Detailed and easy to follow. Saved this in my playlist for After Effects for whenever I need it. Keep going dude!

    • @TechInfusion
      @TechInfusion  5 ปีที่แล้ว

      Packed Review Thanks man! Always happy to help.

  • @MartinAaberge
    @MartinAaberge 2 ปีที่แล้ว

    Hi. Thanks for the tutorial. If I want it to count faster for the first X seconds and then slow down, is it possible to use this technique and edit the expression in some way?

    • @neuro_davinci
      @neuro_davinci 2 ปีที่แล้ว

      Same as any other animation, ease the key frames and change the velocity percentage untill you get the effect you're after. Not sure if there is a way to do it in expressions but this is what I did and looks fine.

  • @daz4life
    @daz4life 2 ปีที่แล้ว

    Great explainer!! Thanks a lot!

  • @MarkEricksonArtist
    @MarkEricksonArtist 5 ปีที่แล้ว +1

    Loved this! I really needed this about 5 months ago for a date/calendar loop. It's really difficult to find a tutorial for this expression out there. Saving this for next time, thank you!

    • @TechInfusion
      @TechInfusion  5 ปีที่แล้ว

      Mark Erickson Very cool! Glad to help!

  • @JohannesLabusch
    @JohannesLabusch 3 ปีที่แล้ว

    Everything worked great for me, except the dollar sign. What am I doing wrong? Has this changed in AE 18.2.0?

  • @LinKaaxMu
    @LinKaaxMu 2 ปีที่แล้ว

    Thank you for sharing bro'! Clear, concise, and direct to the point. U R Z Best!

  • @austinmelendez899
    @austinmelendez899 2 ปีที่แล้ว +2

    Awesome video. I have a question, is there a way to set the max value to something higher than 1,000,000? and can I also remove the decimal places when counting, so only have whole numbers? Thanks!

    • @Jarbrain
      @Jarbrain ปีที่แล้ว +1

      I know the question is one year old but it might help others. The slider has a max of 1,000,000... If you want to go beyond that, you can use the point controller, link the text to one of the axis like the X-axis and add the keyframes. This would make your number go beyond the 1,000,000 mark. All the best!

    • @austinmelendez899
      @austinmelendez899 ปีที่แล้ว

      @@Jarbrain Hey! Thanks for the response regardless of time. I should've commented my solution at the time bcI did figure out a similar way to do it

  • @Rahul_Seth
    @Rahul_Seth 3 ปีที่แล้ว

    How it is work on After Effect CS6 version

  • @jonb2897
    @jonb2897 3 ปีที่แล้ว

    so quick and concise. great video, thanks.

  • @ajthomas1195
    @ajthomas1195 3 ปีที่แล้ว

    Awesome video! Thank you for the simple explanation

  • @matric8130
    @matric8130 2 ปีที่แล้ว

    How to do this in a website ?

  • @jeanalesi6923
    @jeanalesi6923 3 ปีที่แล้ว +1

    Dude, ure the bomb. Every aspect I needed in my percentage counter you covered!

  • @ryancrean.
    @ryancrean. 3 ปีที่แล้ว

    for me when i count it up the text slides to the right, due to the increase in digits. how do i keep it centerd. PLEASE HALP AH THIS IS SO ANNOYING

  • @Keshavchauhan0018
    @Keshavchauhan0018 3 ปีที่แล้ว

    Please tell me motion graphics

  • @Dreadknight_Gaming
    @Dreadknight_Gaming 3 ปีที่แล้ว

    Great Stuff. Also is there a way to make this incremental value follow a path of a bar chart using a trim path\slider?

  • @aroojsarmad4092
    @aroojsarmad4092 4 ปีที่แล้ว +1

    How do i animate a number counter with a comma? Please!!!!!

    • @MattRafferty1
      @MattRafferty1 3 ปีที่แล้ว

      I wondered that too! Just hoping the client doesn't say she wants a comma.

    • @jasonmorris107
      @jasonmorris107 3 ปีที่แล้ว

      @Lindsey Connors I found this: th-cam.com/video/5WJmrYMifW8/w-d-xo.html Instead of Slide Control use Point Controller - works for any number... Slide Control is limited up to 1 Million.

  • @jayantlakhmani9225
    @jayantlakhmani9225 2 ปีที่แล้ว

    Best of em all

  • @janellesain4548
    @janellesain4548 ปีที่แล้ว

    Thanks!

  • @lynseydenise
    @lynseydenise 3 ปีที่แล้ว

    This was amazing and easy! I have been trying to figure out how to do this for the past two days. After consistent searching for automated number counters, this video came in handy. Thank you!

  • @agw421
    @agw421 3 ปีที่แล้ว

    thanks! very easy to understand

  • @ElizabethLRip
    @ElizabethLRip 3 ปีที่แล้ว +1

    Hey thank you so much for this tutorial! I really appreciate it. I just wanted to ask when I follow the expression to include the percentage, only at 0 does it have the percentage sign, the other numbers don't. What's the best way to fix this, and why does it happen? Thank you!

    • @Jay-wm2lx
      @Jay-wm2lx 3 ปีที่แล้ว

      Your text box is too small, the percentage sign is simply getting cut off
      Had that happen when i was playing with some bigger numbers

  • @0420abhinav
    @0420abhinav 4 ปีที่แล้ว

    I want my counter to start with a double zero (00) rather than a single zero? How can I do it?

  • @safedielnegro
    @safedielnegro 4 ปีที่แล้ว

    Hi, I have a question for you. In this exemple, how can I stop a random in a number? what is the expression to do that?
    I´m working with this expression:
    posterizeTime(2);
    random(1,41).toFixed(0)+"%";
    And I need to stop in 40. How can I do that?
    Tnkx a lot

  • @mathiaskilcher7373
    @mathiaskilcher7373 3 ปีที่แล้ว

    Awesome tutorial... really on point :)

  • @bmxDRAMAqueen
    @bmxDRAMAqueen 3 ปีที่แล้ว

    Super helpful! Thank you for getting right to the point

  • @ulti.matt04
    @ulti.matt04 3 ปีที่แล้ว

    really simple and helpful video thank you so much

  • @HassanGhazawi
    @HassanGhazawi 4 ปีที่แล้ว +1

    Thank you, easy and simple

  • @o7juan
    @o7juan 4 ปีที่แล้ว +1

    What about showing how to animate the red ring going around it as well while it counts up? 🥺

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว

      If you follow my animated arrows and lines I show you how to use trim paths. You can use that for this circle effect.

    • @o7juan
      @o7juan 4 ปีที่แล้ว +1

      @@TechInfusion ok, thanks I'll have to look thru your channel and find it. This video was the first that popped up on my recommendations.

  • @puyadeportivo8541
    @puyadeportivo8541 2 ปีที่แล้ว

    Hello, thank you very much... It helped me a lot, fast and great

  • @SabrinaModelle
    @SabrinaModelle 5 ปีที่แล้ว +1

    Awesome video, thank you! Is there a way to add a comma for a 6 digit number?

    • @TechInfusion
      @TechInfusion  5 ปีที่แล้ว +1

      Try using this expression:
      countTotal=57000;
      textBefore = "$";
      textAfter = "";
      n="" + Math.round(effect("Slider Control")("Slider")*countTotal/100); s="";
      for(i=0, l=n.length;
      i

    • @FemiSHair
      @FemiSHair 4 ปีที่แล้ว +1

      @@TechInfusion I got "expression error" when I tried this

  • @hemineko-chanamvs1192
    @hemineko-chanamvs1192 4 ปีที่แล้ว

    How do I make the numbers go up by 4 per second? Is there an expression? Thanks :)

  • @TH509a
    @TH509a 5 ปีที่แล้ว

    how about if i want to start with 2 digit?

  • @waqasahmed7225
    @waqasahmed7225 3 ปีที่แล้ว

    Genuine person and video

  • @cliftoncockburne290
    @cliftoncockburne290 3 ปีที่แล้ว

    This was awesome! thank you so much :)

  • @vlad.k22
    @vlad.k22 3 ปีที่แล้ว

    Super helpful thanks

  • @perheiashdod2060
    @perheiashdod2060 3 ปีที่แล้ว

    THANK YOU!

  • @kumichi58
    @kumichi58 4 ปีที่แล้ว

    I couldn't add a symbol, idk why, I'm using CC 2020

  • @NickRossi
    @NickRossi 3 ปีที่แล้ว

    Thank you SO much! A beautifully done and economical tutorial!

  • @rpkgraphiks9011
    @rpkgraphiks9011 3 ปีที่แล้ว

    Thanks, this helped me alot.

  • @NilabhUmredkar
    @NilabhUmredkar 4 ปีที่แล้ว

    Thanks for the quick tip!

  • @saibala9109
    @saibala9109 2 ปีที่แล้ว

    Math.round(effect("Slider Control")("Slider"))

  • @miguelpinto1724
    @miguelpinto1724 4 ปีที่แล้ว

    My after effects its in Portuguese, i am having dificulties to find the right expression, i guess in english doesnt work, someone help please

  • @9zycie
    @9zycie 3 ปีที่แล้ว

    It doesn't work for me. I keep on getting an error.

  • @JuliocezarMercurio
    @JuliocezarMercurio 3 ปีที่แล้ว

    this best video. thanks man

  • @abdulwahabolalekan583
    @abdulwahabolalekan583 4 ปีที่แล้ว

    This was amazing thanks alot

  • @zonaloca
    @zonaloca 2 ปีที่แล้ว

    Thank you very much... You really nailed on what I was trying to accomplish... other tutorials use the MathRound function but for long counters (100 in the span of 3 or 5 minutes..) things start to get out of sync really quick.
    Thank you again.. im suscribing. :D

  • @Netzerland
    @Netzerland 3 ปีที่แล้ว

    Thanks! I have seen other ways to do it, but the expression didn't work. So thx (:

  • @youniqentertainment
    @youniqentertainment 4 ปีที่แล้ว

    Super Easy and Highly Recommend.

  • @chriscrowd4946
    @chriscrowd4946 3 ปีที่แล้ว

    Perfect thanks!

  • @juliafiji9060
    @juliafiji9060 3 ปีที่แล้ว

    Thank you a lot!!!!!!!

  • @RooskieTV
    @RooskieTV 5 ปีที่แล้ว +1

    Awesome video man! Can this be played for something like a timer? I feel like I can use this for a "starting soon" timer on my live streams!

    • @TechInfusion
      @TechInfusion  5 ปีที่แล้ว +1

      RuskieTech Yes! You can make countdown timers. And you can make it do a whole bunch of cool effects.

    • @RooskieTV
      @RooskieTV 5 ปีที่แล้ว

      @@TechInfusion Nice!!

  • @Bachdebian
    @Bachdebian 3 ปีที่แล้ว

    Thanks So Much

  • @miguelhernandezveliz478
    @miguelhernandezveliz478 4 ปีที่แล้ว

    Nice one mate! Very effective (Throwback to pokemon for gameboy) You are a star!

  • @sufu5630
    @sufu5630 4 ปีที่แล้ว

    thank you thats helped me

  • @richardrgarabedian9054
    @richardrgarabedian9054 3 ปีที่แล้ว

    I just get NaN...dont know what happened but for some reason this expression no longer works..i mean the $ symbol does not work... oddly

    • @ulti.matt04
      @ulti.matt04 3 ปีที่แล้ว

      same here I don't understand

  • @Asigron
    @Asigron 3 ปีที่แล้ว

    Thank you :)

  • @pw1482
    @pw1482 4 ปีที่แล้ว

    Great. Thank you.

  • @Dr.JimmyBrungus
    @Dr.JimmyBrungus 3 ปีที่แล้ว

    Thank you!

  • @MattRafferty1
    @MattRafferty1 3 ปีที่แล้ว

    Fantastic, thank you!

  • @shwarcs
    @shwarcs 3 ปีที่แล้ว

    Thanks

  • @Jayblueproduction
    @Jayblueproduction 3 ปีที่แล้ว

    amazing