Transform Player Perspectives with the Camera Command
The /camera command in Minecraft Bedrock Edition transforms the camera for selected players to a different perspective. You can use it to apply camera presets, set exact positions and rotations, or lock the camera's view onto an entity or block coordinate.
Map makers and server operators use this command to create cutscenes, custom viewpoints, and smooth transitions between different areas. To run it, you must have cheats enabled in your world and hold the Game Directors permission level.
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> pos <position: x y z> rot <xRot: rotation> <yRot: rotation>Sets camera with easing overrides and initial position and x/y rotation
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> pos <position: x y z> facing <lookAtEntity: target>Sets camera with easing overrides and initial position, looking at a selected entity
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> pos <position: x y z> facing <lookAtPosition: x y z>Sets camera with easing overrides and a initial position, looking at a particular position
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> pos <position: x y z>Sets camera with easing overrides and a position
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> rot <xRot: rotation> <yRot: rotation>Sets camera with easing overrides and rotation
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> facing <lookAtEntity: target>Sets camera with easing overrides and looking at an entity
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> facing <lookAtPosition: x y z>Sets camera looking at a position, with easing
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> [default: default]Sets camera with an easing
/camera <players: target> set <preset: CameraPresets> pos <position: x y z> rot <xRot: rotation> <yRot: rotation>Sets camera with a position and rotation
/camera <players: target> set <preset: CameraPresets> pos <position: x y z> facing <lookAtEntity: target>Set camera with override facings, looking at an entity
/camera <players: target> set <preset: CameraPresets> pos <position: x y z> facing <lookAtPosition: x y z>Set camera with override facings, looking at a position
/camera <players: target> attach_to_entity <entity: target>Set camera with a target entity
/camera <players: target> detach_from_entitySet camera with a target entity and positional offset
/camera <players: target> target_entity <entity: target>Set camera with a view offset
/camera <players: target> remove_targetSets a camera from a position
/camera <players: target> set <preset: CameraPresets> view_offset <xViewOffset: float> <yViewOffset: float>Camera facing rotation
/camera <players: target> set <preset: CameraPresets> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>Fade out to times
/camera <players: target> set <preset: CameraPresets> rot <xRot: rotation> <yRot: rotation> view_offset <xViewOffset: float> <yViewOffset: float>Camera preset facing/looking at a position
/camera <players: target> set <preset: CameraPresets> rot <xRot: rotation> <yRot: rotation> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>Fade
/camera <players: target> set <preset: CameraPresets> view_offset <xViewOffset: float> <yViewOffset: float> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>Clear
/camera <players: target> set <preset: CameraPresets> rot <xRot: rotation> <yRot: rotation> view_offset <xViewOffset: float> <yViewOffset: float> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>Timed color-tinted fade
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> view_offset <xViewOffset: float> <yViewOffset: float>Timed fade
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>Color-tinted fade
/camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> rot <xRot: rotation> <yRot: rotation> view_offset <xViewOffset: float> <yViewOffset: float>Fade
| Argument | Type | What it means |
|---|---|---|
blue | int | Blue component of a color value. Valid values are between 0 and 255. |
default | default | A keyword specifying that the camera movement should be reset to its default parameters. |
easeTime | float | A float number specifying the duration of the easing transition. |
easeType | Easing | The specific type of easing curve to use for the camera movement. |
entity | target | The target selector for the related entity when attaching or targeting the camera. |
fadeInSeconds | float | Specifies a fade-in time value. |
fadeOutSeconds | float | Specifies the number of seconds to fade out the camera. |
fov_value | float | - `fovEaseTime`: float |
fovEaseType | Easing | - `green`: int Green component of a color value. Valid values are between 0 and 255. |
holdSeconds | float | Specifies the amount of time to hold the camera view. |
lookAtEntity | target | A target selector that specifies which entity the camera should point toward. |
lookAtPosition: x y z | position | The exact X, Y, and Z coordinates that the camera will turn to look at. |
name | string | - `players`: target A target selector of players. |
position: x y z | position | The X, Y, and Z coordinates where the camera will be located. |
preset | CameraPresets | A camera preset defined in a camera JSON file. |
red | int | Red component of a color value. Valid values are between 0 and 255. |
xEntityOffset | float | - `xRot`: rotation x Rotation value |
xTargetCenterOffset | float | X offset from the center of a targeted entity |
xViewOffset | float | X component of a view offset |
yEntityOffset | float | - `yRot`: rotation y Rotation value |
yTargetCenterOffset | float | Y offset from the center of a targeted entity |
yViewOffset | float | Y component of a view offset |
zEntityOffset | float | - `zTargetCenterOffset`: float Z offset from the center of a targeted entity |
/camera @p clearClears any active camera modifications for the nearest player and returns their view to normal.
/camera @a detach_from_entityDetaches the camera from any attached entity for all players in the world.
/camera @r remove_targetRemoves the active tracked camera target for a random player.
/camera Steve attach_to_entity @e[type=villager,c=1]Attaches the camera of the player named Steve to the closest villager.
/camera @a[tag=cutscene] target_entity @e[type=ender_dragon,c=1]Sets the camera for all players with the cutscene tag to target the Ender Dragon.
/camera Alex fov_set 60.0Changes the field of view for the player named Alex to a value of 60.0.
/camera @p[r=10] fov_clearResets the field of view back to normal for the nearest player within a 10-block radius.
Minecraft Java Edition does not have a /camera command. This command and its custom preset parameters are exclusive to Minecraft Bedrock Edition.
You can return a player's view to its standard state by running /camera <players> clear, which clears any active camera changes for that player.
You need the Game Directors permission level to run the /camera command, and cheats must be enabled in the world.
Yes, you can use the facing <lookAtEntity: target> argument when setting a camera preset, or use /camera <players> target_entity <entity> to focus on an entity.
/aimassist/camerashake/clearspawnpoint/controlscheme/damage/effect/event/gamemode/hud/inputpermission/kill/ride/spawnpoint/spreadplayers/summon/teleport