Commands/playanimation

Makes one or more entities play a one-off animation.

Arguments

 * Specifies the targeted entities.
 * Specifies the targeted entities.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be an animation defined under the Json path  in the /entity/.entity.json file.
 * Specifies an animation to play now.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be a state defined under the Json path  in the /animation_controllers/ .json file.
 * Specifies an state after playing animation.


 * Specifies the duration of the gradient animation.
 * Specifies the duration of the gradient animation.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be a MoLang expression.
 * Specifies the conditions for stopping animation.


 * And it must be either a single word (no spaces) or a quoted string.
 * Should be an render controller defined under the Json path  in the /entity/.entity.json file.
 * Specifies an render controller.

Example
Make the foxes sit down until they leaves the ground. Once leaving the ground, the foxes become in sleep state:

History
命令/playanimation