EntitiesBedrockEducation

/playanimation

Runs a single animation on an entity outside its normal controller — pose a mob, trigger a custom addon animation, or freeze it in a stance. Bedrock/addon tool with no Java equivalent.

What is /playanimation used for?

What /playanimation is for

Runs a single animation on an entity outside its normal controller — pose a mob or trigger a custom addon animation.

When to use /playanimation

Pose entities for cinematics or builds on Bedrock; it has no Java equivalent.

Syntax

Parameters

target
entity selector
Entities to animate.
animation
string
Animation short name, e.g. animation.creeper.swelling.

Examples

  • Make creepers play their swell animation.

Permission level

/playanimation requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.