/playanimation Command in Minecraft Bedrock Edition

Play One-Off Animations on Entities in Minecraft

Bedrock EditionSound & VisualsPermission: Game DirectorsCheats: Yes

The /playanimation command in Minecraft Bedrock Edition makes one or more entities play a one-off animation. You can target yourself, other players, or specific mobs using target selectors and animation strings.

Map makers and server creators often use this command to make custom cutscenes, add movements to NPCs, or test animation files from a resource pack. Because it is a Game Directors level command, you must turn on cheats in your world settings before you can run it.

Syntax (1 form)

  1. /playanimation <entity: target> <animation: string> [next_state: string] [blend_out_time: float] [stop_expression: string] [controller: string]

    Play animation

Arguments

ArgumentTypeWhat it means
animationstringRequired. A `string` that is a single word or quoted `string` that refers to an animation name or an animation JSON file in a resource pack.
blend_out_timefloat
controllerstringOptional. A `string` that is an animation controller name or a new file defined in a resource pack.
entitytargetRequired. A `string` or `target selector` to identify the entity.
next_statestring
stop_expressionstring

Examples

Tips

Common mistakes

Bedrock vs Java

Minecraft Java Edition does not have a /playanimation command. This command is exclusive to Minecraft Bedrock Edition.

FAQ

Why does the /playanimation command not show up in my chat?

You must be playing Minecraft Bedrock Edition and have cheats enabled in your world settings, as this command requires the Game Directors permission level and does not exist in Java Edition.

Can I use /playanimation with custom resource packs?

Yes, the animation and controller arguments accept strings that refer to custom animation JSON files and animation controllers defined inside an active resource pack.

How do I animate a specific mob instead of a player?

Use the @e target selector with a type filter in the entity argument, such as @e[type=villager], to target specific mobs instead of players.

Related commands

/music/particle/playsound/stopsound