Shake the Player Camera with Custom Effects
The /camerashake command applies a shaking effect to a player's camera view in Minecraft Bedrock Edition. You can control how hard the screen shakes, how many seconds the effect lasts, and whether the movement is positional or rotational.
Map makers and server hosts use this command to make explosions, earthquakes, and boss fights feel more dramatic. You can also stop any active camera shaking instantly when an event ends.
/camerashake add <player: target> [intensity: float] [seconds: float] [shakeType: CameraShakeType]Add
/camerashake stop [player: target]Stop
| Argument | Type | What it means |
|---|---|---|
intensity | float | Optional. Default `0.5`. A `float` that specifies the camera shake intensity with values from [0, 4]. |
player | target | A player name `string` or `target selector` to identify the player. |
seconds | float | Optional. A `float` that specifies how long the camera will shake. Default: `1.0`. |
shakeType | CameraShakeType | Optional. Either `positional` or `rotational` camera shake type. Default: `positional`. |
/camerashake add @sShakes your own camera using the default intensity of 0.5 and default duration of 1.0 second.
/camerashake add @p 1.5Applies a medium shake with an intensity of 1.5 to the nearest player for 1.0 second.
/camerashake add @a 0.25 10.0 positionalCreates a gentle, ten-second positional rumble for every player in the world.
/camerashake add @r 4.0 0.5 rotationalHits one random player with the maximum intensity of 4.0 using rotational shaking for half a second.
/camerashake add Steve 2.75 3.5 positionalShakes the camera of the player named Steve at 2.75 intensity for 3.5 seconds using positional movement.
/camerashake add Alex 0.8 0.05 rotationalGives the player named Alex a tiny, quick rotational camera bump lasting just 0.05 seconds.
/camerashake stop @aImmediately stops all camera shaking for every player online.
/camerashake stopStops the camera from shaking without specifying a target.
Minecraft Java Edition does not have a /camerashake command. This feature is only available in Minecraft Bedrock Edition.
First, make sure cheats are enabled in your world settings. If the command runs without an error message but your screen stays still, open your Minecraft user settings and turn on the Allow Camera Shake option.
The highest number you can use for the intensity argument is 4.0, and the lowest is 0.0. If you leave the intensity blank, the game uses the default value of 0.5.
You can choose between positional and rotational for the shake type argument. Positional is the default setting if you do not type a shake type at the end of the command.
/aimassist/camera/clearspawnpoint/controlscheme/damage/effect/event/gamemode/hud/inputpermission/kill/ride/spawnpoint/spreadplayers/summon/teleport