Skip to main content
Participant
October 11, 2020
質問

After Effects number counter in steps of 10s

  • October 11, 2020
  • 返信数 1.
  • 5045 ビュー

I can't find a way to animate my number counter (numbers from 0% - 100%) in steps of 10s (just the 0% - 10% - 20%... - 100%). I am using the slider control and expression "Math.round" for whole numbers.

I am happy if someone can help. If possible a german answer would be even best for me, thank you.

返信数 1

Dan Ebberts
Community Expert
Community Expert
October 11, 2020

Like this maybe:

 

s = effect("Slider Control")("Slider");
Math.round(s/10)*10 + "%"
Mirjam98A7作成者
Participant
October 12, 2020

This gives me one decimal number (E.g. 15,1%) now, but doesnt change something at the steps.

Nevertheless, thank you very much.

Dan Ebberts
Community Expert
Community Expert
October 12, 2020

I'm not sure how you could be getting that result. Is it possible you reversed the / and the * ?