Capítulo 68 de 411
progress() gets or sets the playhead position as a 0-1 fraction of the timeline's duration, excluding repeats.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | Number | NaN | 0 (start) to 1 (complete); omit to get, pass to set |
suppressEvents | Boolean | false | if true, don't fire callbacks during the jump |
tl.progress(0.5); // jump to the halfway point