AnimationRunTime

AnimationRunTime

is an option to Animator and related functions that indicates how long the animation has been continuously running.

Details

  • AnimationRunTime is the absolute number of seconds of real time that have elapsed since the animation was started.
  • AnimationRunTime is reset to 0 whenever an animation is begun.

Examples

open allclose all

Basic Examples  (1)

Track how long an animation has been running:

Properties & Relations  (2)

The time since the animation started may be less than the time index:

The time since the animation started may be much greater than the time index:

Interactive Examples  (1)

Display a brief indicator whenever an animation is started or restarted:

Introduced in 2014
 (10.0)