StartAnimation

From VisionaireWiki
Jump to navigation Jump to search

startAnimation

Starts an animation. If the animation is already running the existing animation is returned.

Lua Syntax:

startAnimation(animation [, reverse])

Arguments

animation

"object path"|"object id"|object - Visionaire object which specifies an animation.

reverse

true|false - If true the animation is played in reverse order. Default value is false.

Flags

Return Values

visionaireObject
The visionaire object representing the active animation.