Current Time

Current Time Generator icon

The Current Time Numeric Generator outputs the current time, in seconds, multiplied by its Multiplier. The value grows steadily as the animation plays, so a parameter connected to it changes at a constant speed, forever, without a single keyframe.

Use it for:


Quick Navigation



Creating and Connecting a Current Time

Like any Numeric Generator, the Current Time is connected to a numeric parameter. As described in Generators and Modifiers, click the Generator slot of the parameter, then choose Current Time in the list of Generators on the right.

It produces a single value. On a parameter with several dimensions, use Separated mode to drive one dimension only, for example the X of a Position, or Single mode to drive all of them at once (see Managing Dimensions).

Note:

The Current Time replaces the value of the parameter: at the start of the composition, the parameter is 0. To start from another value, add a Math Modifier in Add mode to the same parameter.

Setting the Speed with the Multiplier

The value of the Current Time is the time in seconds multiplied by the Multiplier. The Multiplier is therefore a speed, in units of the connected parameter per second:

Current Time on the Rotation of each pinwheel, with a Multiplier of 90 and -45. Above, the same time displayed in seconds and as a timecode.
Then paste in the Project panel. Learn more
Tip:

For a constant rotation that loops perfectly, choose a Multiplier that makes a whole number of turns over the duration of the composition, such as 90 for a 4-second composition.

Which Time Is Used

Example: an Endless Noise

The Evolution of a Noise is an angle in degrees. Connect a Current Time to it, and the noise keeps evolving at the same pace for the whole composition, however long it is.

Current Time with a Multiplier of 90 on the Evolution of a Noise: the Evolution increases by 90 degrees per second.
Then paste in the Project panel. Learn more

Displaying the Time in a Text

A text in Plain Text mode can display a value produced by a Generator. To show the time, as in the first example on this page:

Tip:

Change the Multiplier of the Current Time to display a value that counts faster or slower than the clock, such as a score, a distance or a percentage.

Repeating a Movement Endlessly

A value driven by the Current Time never stops growing, so a layer moved by it eventually leaves the frame. To repeat the movement, wrap the value with a Math Modifier in Modulo mode: the value goes back to 0 each time it reaches the Value of the Modifier. The Math page shows a complete example, with a text crossing the frame again and again.


Controls

Parameter / Script Name Type Default Function
Enabled / enabled Boolean On Turns the Generator on or off.
Multiplier / multiplier Float 1 The value is the current time in seconds, multiplied by this number. It is therefore a speed, in units of the connected parameter per second: 90 on a Rotation turns it by 90 degrees per second. Negative values make the value decrease.