Capítulo 100 de 411

Chapter 100: Tween.duration()

Core Idea

duration() gets or sets the tween's duration, excluding repeats/repeatDelays — same behavior as Timeline.duration().

Code Examples

tween.duration(); // e.g. 2, with repeat:3 totalDuration would be 8

Connects To

  • Timeline.duration() / Tween.totalDuration(): related duration accessors.