/playanimation
Command
Makes one or more entities play a one-off animation.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Play animation
/playanimation <entity: target> <animation: string> [next_state: string] [blend_out_time: float] [stop_expression: string] [controller: string]
Play an animation with an entity and animation chosen, and optional next state, blend out time, stop expression, and controller.
Arguments
animation
: string Required. Astring
that is a single word or quotedstring
that refers to an animation name or an animation JSON file in a resource pack.blend_out_time
: floatcontroller
: string Optional. Astring
that is an animation controller name or a new file defined in a resource pack.entity
: target Required. Astring
ortarget selector
to identify the entity.next_state
: stringstop_expression
: string
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for