ReadonlyactorReadonlydocumentReadonlyobjectAdd a set of animations to the current Actor
Rest...animations: AnimationConfig[]Retrieves an animation from the current Actor by name
Name of the animation to retrieve
Retrieves all animations from the current Actor
Play an animation for the current Actor
Name of the animation to play
A promise that resolves when the animation has finished, unless the animation is set to loop
Play ana nimation for the current Actor
A promise that resolves when the animation has finished, unless the animation is set to loop
Plays a series of animations in sequence
Rest...args: (string | AnimationConfig)[]A list of animations by name or AnimationConfig
Play an animation after the current one finishes, if one is playing.
Play a set of animations after the current one ends, if one is playing.
Rest...args: (string | AnimationConfig)[]StaticaddAdd an animation to the Actor for a given Token
Token
Add an animation to the Actor for a given TokenDocument
TokenDocument
Add an animation to the given Actor
Actor
StaticaddAdds a set of animations to the Actor associated with a given Token
Token
Rest...configs: AnimationConfig[]Adds a set of animations to the Actor associated with a given TokenDocument
TokenDocument
Rest...configs: AnimationConfig[]Adds a set of animations to the given Actor
Actor
Rest...configs: AnimationConfig[]StaticclearRemoves all animations from the Actor associated with a given Token
Token
Removes all animations from the Actor associated with a given TokenDocument
TokenDocument
Removes all animations from a given Actor
Actor
StaticgetRetrieves an animation by name.
StaticgetRetrieves all animations from an object
StaticplayPlays an animation for a given target
Token, TokenDocument, or id
Name of the animation or AnimationConfig
StaticplayPlays a series of animations by name or AnimationConfig
Token, TokenDocument, or id/uuid
Rest...anims: (string | AnimationConfig)[]Array of strings or AnimationConfig
StaticqueueWill play an animation after the current one ends, if one is playing.
= Token or TokenDocument
AnimationConfig or name of an animation}
StaticqueueWill play a set of animations after the current one ends, if one is playing
Token or TokenDocument
Rest...anims: (string | AnimationConfig)[]Array of AnimationConfigs or strings
StaticremoveRemoves an animation from the Actor associated with the given Token
Token
Name of the animation to remove
Removes an animation from the Actor associated with the given TokenDocument
Token
Name of the animation to remove
Removes an animation from the given Actor
Actor
Name of the animation to remove
StaticremoveRemoves a set of animations from the Actor associated with a given Token
Token
Rest...names: string[]Names of the animations to remove
Removes a set of animations from the Actor associated with a given TokenDocument
TokenDocument
Rest...names: string[]Names of the animations to remove
Removes a set of animations from a given Actor
Actor
Rest...names: string[]Names of the animations to remove
Adds an animation to the current Actor