Number Counter in After Effects
Master dynamic number animations in After Effects
This tutorial covers creating number counter animations using Text layers, Slider effects, expressions, and the pick whip tool for dynamic text control.
Core Components
Text Layer
The foundation element that displays your counting numbers. Acts as the visual output for your animation.
Slider Effect
Expression control that drives the number values. Provides the data source for your counter animation.
Expression Code
Math.round formula that connects slider values to text display. Ensures clean number formatting without decimals.
Complete Setup Process
Create Text Layer
Double-click Numbers layer, use Text tool to create vertical rectangle, type initial value of 0, and set font size to around 170 for visibility.
Add Slider Control
Navigate to Effects > Expression Controls > Slider Control to add the control mechanism that will drive your number counter.
Connect with Pick Whip
Use the swirly pick whip tool to drag from Source Text to Slider effect, creating the connection between controls and display.
Apply Expression Code
ALT-click Source Text stopwatch and enter Math.round(effect('Slider Control')('Slider')) to enable integer-only number display.
Set Keyframes
At timeline origin set Slider to 1, move playhead to 17 seconds, change Slider to 10 for gradual counting animation.
After Effects will provide auto-complete suggestions as you type the Math.round expression code, making the process faster and reducing syntax errors.
Visual Enhancement Setup
Use navy blue color (#000F4C), set distance to 27, softness to 10 for depth
Animate radius from 20 to 50 over 2.5 seconds for pulsing effect
Paste at multiple timeline points (5s, 7s, 9s) for repeating animation
Copy and paste both Drop Shadow and Glow to maintain consistency
Animation Timeline
Initial Setup
Set slider value to 1, establish starting glow radius at 20
First Glow Peak
Glow radius reaches 50 for initial pulse effect
Second Glow Cycle
Paste glow keyframes for repeated animation cycle
Final Counter Value
Number counter reaches maximum value of 10
Number Counter Technique
Key Takeaways