Capítulo 104 de 411

Chapter 104: Tween.invalidate()

Core Idea

invalidate() flushes recorded starting/ending values so the tween re-parses vars on next render — same behavior as Timeline.invalidate(), most commonly used before restart() on a relative-value tween.

Code Examples

tween.invalidate().restart();

Connects To

  • Timeline.invalidate(): identical mechanism on the Timeline class.