3D Lingo Dictionary > C-D > duration

 

duration

Syntax

member(whichCastmember).motion(whichMotion).duration
motionObjectReference.duration

Description

3D property; lets you get the time in millisecond that it takes the motion specified in the whichMotion parameter to play to completion. This property is always greater than or equal to 0.

Example

This statement shows the length in milliseconds of the motion Kick.

put member("GbMember").motion("Kick").duration
-- 5100.0000

See also

motion, currentTime, play(), queue()