Animator:tell

Returns the current playback time of an animation.

time = Animator:tell(name)

Arguments

NameTypeDescription
namestringThe name of the animation.

Returns

NameTypeDescription
timenumberThe current time the animation is at, in seconds.

Notes

This will always be between 0 and the animation's duration.

See also