Capítulo 94 de 411

Chapter 94: Timeline.tweenTo()

Core Idea

tweenTo() creates a linear tween that scrubs the playhead to a specific time/label and stops.

Reference Tables

ParameterTypeDescription
positionNumber | Labeldestination
varsObjecttween settings

Returns: Tween.

Code Examples

tl.tweenTo("myLabel", { duration: 1, ease: "power2" });

Connects To

  • Timeline.tweenFromTo(): variant with an explicit starting point too.