Capítulo 81 de 411
seek() jumps the playhead to a specific time or label without changing the paused/reversed state.
| Parameter | Type | Description |
|---|---|---|
position | * | absolute number, label, or relative string ("-=2", "myLabel+=2") |
suppressEvents | Boolean | if true, don't fire callbacks during the jump |
tl.seek(3); // jump to exactly 3 seconds in
tl.seek("myLabel+=2"); // jump to 2s after "myLabel"
position argument.