/camera Command in Minecraft Bedrock Edition

Transform Player Perspectives with the Camera Command

Bedrock EditionPlayers & EntitiesPermission: Game DirectorsCheats: Yes

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.

Syntax (24 forms)

  1. /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

  2. /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

  3. /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

  4. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> pos <position: x y z>

    Sets camera with easing overrides and a position

  5. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> rot <xRot: rotation> <yRot: rotation>

    Sets camera with easing overrides and rotation

  6. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> facing <lookAtEntity: target>

    Sets camera with easing overrides and looking at an entity

  7. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> facing <lookAtPosition: x y z>

    Sets camera looking at a position, with easing

  8. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> [default: default]

    Sets camera with an easing

  9. /camera <players: target> set <preset: CameraPresets> pos <position: x y z> rot <xRot: rotation> <yRot: rotation>

    Sets camera with a position and rotation

  10. /camera <players: target> set <preset: CameraPresets> pos <position: x y z> facing <lookAtEntity: target>

    Set camera with override facings, looking at an entity

  11. /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

  12. /camera <players: target> attach_to_entity <entity: target>

    Set camera with a target entity

  13. /camera <players: target> detach_from_entity

    Set camera with a target entity and positional offset

  14. /camera <players: target> target_entity <entity: target>

    Set camera with a view offset

  15. /camera <players: target> remove_target

    Sets a camera from a position

  16. /camera <players: target> set <preset: CameraPresets> view_offset <xViewOffset: float> <yViewOffset: float>

    Camera facing rotation

  17. /camera <players: target> set <preset: CameraPresets> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>

    Fade out to times

  18. /camera <players: target> set <preset: CameraPresets> rot <xRot: rotation> <yRot: rotation> view_offset <xViewOffset: float> <yViewOffset: float>

    Camera preset facing/looking at a position

  19. /camera <players: target> set <preset: CameraPresets> rot <xRot: rotation> <yRot: rotation> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>

    Fade

  20. /camera <players: target> set <preset: CameraPresets> view_offset <xViewOffset: float> <yViewOffset: float> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>

    Clear

  21. /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

  22. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> view_offset <xViewOffset: float> <yViewOffset: float>

    Timed fade

  23. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> entity_offset <xEntityOffset: float> <yEntityOffset: float> <zEntityOffset: float>

    Color-tinted fade

  24. /camera <players: target> set <preset: CameraPresets> ease <easeTime: float> <easeType: Easing> rot <xRot: rotation> <yRot: rotation> view_offset <xViewOffset: float> <yViewOffset: float>

    Fade

Arguments

ArgumentTypeWhat it means
blueintBlue component of a color value. Valid values are between 0 and 255.
defaultdefaultA keyword specifying that the camera movement should be reset to its default parameters.
easeTimefloatA float number specifying the duration of the easing transition.
easeTypeEasingThe specific type of easing curve to use for the camera movement.
entitytargetThe target selector for the related entity when attaching or targeting the camera.
fadeInSecondsfloatSpecifies a fade-in time value.
fadeOutSecondsfloatSpecifies the number of seconds to fade out the camera.
fov_valuefloat- `fovEaseTime`: float
fovEaseTypeEasing- `green`: int Green component of a color value. Valid values are between 0 and 255.
holdSecondsfloatSpecifies the amount of time to hold the camera view.
lookAtEntitytargetA target selector that specifies which entity the camera should point toward.
lookAtPosition: x y zpositionThe exact X, Y, and Z coordinates that the camera will turn to look at.
namestring- `players`: target A target selector of players.
position: x y zpositionThe X, Y, and Z coordinates where the camera will be located.
presetCameraPresetsA camera preset defined in a camera JSON file.
redintRed component of a color value. Valid values are between 0 and 255.
xEntityOffsetfloat- `xRot`: rotation x Rotation value
xTargetCenterOffsetfloatX offset from the center of a targeted entity
xViewOffsetfloatX component of a view offset
yEntityOffsetfloat- `yRot`: rotation y Rotation value
yTargetCenterOffsetfloatY offset from the center of a targeted entity
yViewOffsetfloatY component of a view offset
zEntityOffsetfloat- `zTargetCenterOffset`: float Z offset from the center of a targeted entity

Examples

Tips

Common mistakes

Bedrock vs Java

Minecraft Java Edition does not have a /camera command. This command and its custom preset parameters are exclusive to Minecraft Bedrock Edition.

FAQ

How do I reset a player's camera back to normal?

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.

Who has permission to use the /camera command?

You need the Game Directors permission level to run the /camera command, and cheats must be enabled in the world.

Can I make the camera automatically watch a specific mob?

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.

Related commands

/aimassist/camerashake/clearspawnpoint/controlscheme/damage/effect/event/gamemode/hud/inputpermission/kill/ride/spawnpoint/spreadplayers/summon/teleport