Skip to content

care.anim.Animation:getSpeed

Method

Returns the default playback speed of the animation.

An individual instance (see care.anim.Instance) of the animation may optionally override this with its own playback speed.

Syntax

speed = source:getSpeed()

Arguments

None.

Returns

Name Type Description
speed number Currently set duration of each frame, in seconds.

Example

local speed = animation:getSpeed()