Capítulo 55 de 411
globalTime() converts a local time on this timeline into the corresponding time on gsap.globalTimeline, accounting for all nesting and timeScales.
| Parameter | Type | Description |
|---|---|---|
localTime | Number | the local time to convert |
Returns: Number (time on the global timeline).
tl.globalTime(1.5); // where "1.5s into this timeline" falls on the global clock