Time Expressions
Get value at time
Get the value of a parameter at a specific time using the
Syntax
- Time Unit: The time parameter is usually in frames, but it depends on the composition settings.
- Global Time: Use
comp:GetAttrs().COMPN_GlobalStart
to account for compositions that don't start at frame 0 or 1. - Supported Inputs: Not all inputs support
GetValueAtTime()
. Ensure the input is animatable.