The After Effects time expression is a great way to add movement without setting keyframes. Here’s how it’s done.
- Create cinematic movie titles, intros, and transitions. Remove an object from a clip. Start a fire or make it rain. Animate a logo or character. Even navigate and design in a 3D space. With After Effects, the industry-standard motion graphics and visual effects software, you can take any idea and make it move.
- After Effects will also run faster when you've cleaned up what it's trying to render on each frame. If you're not using a layer at the current time indicator or after, then trimming layers is great to speed up your workflow. Keyboard Shortcuts for Moving the Time Indicator.
Want to slow down or speed up a clip after the fact? Whether you're new to Adobe's popular motion graphics and compositing software or a seasoned video professional just looking to better acquaint yourself with CS5's new features, you're sure to be well served by this video tutorial. For more information, and to get started manipulating time in your own AE projects, watch this free video guide. After Effects finds the luminance value of each pixel in the displacement map, and then it replaces the corresponding pixels at the current time with pixels from another time based on the maximum time of 2 seconds. A luminance value of 255 in the displacement map replaces that pixel with the pixel 2 seconds ahead in the same position.
If you’re new to expressions in After Effects, one of the most helpful and easy to use expressions available is the time expression. Essentially, the time expression returns a number value related to your current position in the timeline. For example, if you were at three seconds, the time expression would return a value of three.
How to Use the Time Expression
After Effects Time Remapping
The time expression can be thought of as a variable in itself. Like we said before, it will return a value related to position of your playhead in seconds. For most motion graphic circumstances, you will likely want to multiply the time expression so that it returns a larger value. In that case, we will have to tell After Effects to do some basic math.
In order to use the After Effects time expression, select the property in which you want the time value to affect and option click on the corresponding stopwatch. For example, if you wanted to set the expression to affect the position, simply click the stopwatch to the left of the position text.
Next, you will need to add in the time expression into your expression. You can simply replace the default text in your expression with the word time or you can have it interact with the time expression by using basic math icons like (+,-,/, & *).
Position
To link your position to the current time, simply option click on the stopwatch next to corresponding position property. In the example above, we separated the x and y position so we could apply the time expression to just the X position. Once you hit the stopwatch, you can simply type in time* any value.
Rotation
After Effects Time Remapping Loop
To link time and rotation together, simply click on the stopwatch next to rotation and replace the current expression with time*any value. In the example above, we have a five second loop. So, using some simple math, we figured out that we would need to multiply the time by 72 to create a perfect loop.
Exponential Values
You can also multiply time by itself so that it will increase exponentially. Simply option click on the stopwatch next the the property you want to effect and type in time*time. In the example above we multiplied time to the power of four.
Text Values
You can also link the value of text to be that of the current time. Simply option click on the stopwatch and add in the time expression. By default, the numbers will include numbers beyond the decimal point, so it is recommended that you use the Math.round() function to round up to the nearest whole number.
Want to learn more about working with expressions in After Effects? Check out a few of the following articles:
Have any other tips for using the time expression in After Effects? Share in the comments below.
After Effects Time Expression
Sign In
Register
- Access to orders in your account history
- Ability to add projects to a Favorites list
- Fast checkout with saved credit cards
- Personalized order invoices