Frame
Intro
Use and manipulate time to drive other attributes.
UI
Value - Set a multiplier for Time. The final output is .
Interpolation Mode - Determine how the output value is calculated:
- Frame - Output the current .
- Seconds - Increase the value every second (depends on the Frame Rate of the Composition).
Cycle Length - When Interpolation Mode is set to Seconds, set how many seconds it takes to add the 'value'.
Graph - When Interpolation Mode is set to Seconds, adjust the interpolation of the value over a second. See Graph Attribute.
Offset - Set a value to add to the output value. Also used as the hold value () before the Start Frame.
Start Frame - Set a frame for Time to start increasing on. Before this frame, the output is .
Time - Current frame from the timeline. Defaults to the Composition's time.
Example
- Create a Basic Line.
- Set its Pivot.X to 100.
- Right click on the Basic Line's Rotation attribute and choose Add Behaviour > Frame.
- Set the Frame Behaviour's:
- Interpolation Mode to Seconds.
- Open the Graph and set the left point's Position to 0.95.
- Set the Value to -6 (a clock's second hand rotates 6° every second).
- Press Play.
This will create the second hand of a ticking clock.