Capítulo 87 de 411

Chapter 87: Timeline.time()

Core Idea

time() gets or sets the playhead's local position in seconds, excluding repeats/repeatDelays.

Reference Tables

ParameterTypeDefaultDescription
valueNumberNaNomit to get; negative values count from the end

Code Examples

tl.time(1.5);
tl.time(-1); // 1 second before the end

Connects To

  • Timeline.totalTime(): the equivalent that includes repeats.