CLASSES
TagsA - Z

PlayAnimationAction

Action

Description

class PlayAnimationAction extends Action

Constructor

new PlayAnimationAction(triggerOptions, target, from, to, loop, condition)

Launch an animation on a specified target

Parameters

Name Type Description
triggerOptions any The trigger options
target any The specified target
from number The starting frame index
to number The ending frame index
optional loop boolean True to loop the animation

Members

from : number

The starting frame index

to : number

The ending frame index

loop : boolean

Animation loop or not

Methods

execute() void

serialize(parent) any

Parameters

Name Type Description
parent any