Updated:

Fix the view in place

/camera @a set minecraft:free pos 0 100 0 facing 10 70 10

This puts everyone's camera at 0 100 0, looking toward 10 70 10. The minecraft:free preset detaches the camera from the player. facing also accepts an entity such as @p.

/camera @a set minecraft:free pos 0 100 0 rot 30 90

To set the angle directly, use rot <pitch> <yaw>.

Reset the view

/camera @a clear

Always clear the camera when the scene ends. Otherwise players keep playing without seeing their own position.

Move smoothly (ease)

/camera @a set minecraft:free pos 0 100 0 facing 10 70 10
/camera @a set minecraft:free ease 5 in_out_sine pos 30 90 30 facing 10 70 10

The first line sets the start, and the second glides to the next spot over 5 seconds. in_out_sine starts and stops gently; linear keeps a constant speed. The suggestions list every ease type.

Run the second line a moment after the first. In command blocks, give the second block a delay in ticks.

Fade the screen (fade)

/camera @a fade time 0.5 1 0.5 color 0 0 0

The screen fades out over 0.5 seconds, holds for 1, and fades back over 0.5. color takes red, green and blue from 0 to 255: 0 0 0 is black and 255 255 255 white. Fading while the camera jumps hides the cut.

Other presets

PresetView
minecraft:freeA camera you can place anywhere
minecraft:first_personFirst person (the normal view)
minecraft:third_personThird person from behind
minecraft:third_person_frontThird person from the front

A third person preset locks players into that view without them pressing F5.

A full cutscene

/camera @a fade time 0.5 0.5 0.5 color 0 0 0
/camera @a set minecraft:free pos 0 120 -40 facing 0 70 0
/camera @a set minecraft:free ease 6 in_out_sine pos 40 100 0 facing 0 70 0
/title @a title Stage 1
/camera @a clear

Fade, show the whole arena, swing around slowly, show a title, then reset. Put a few seconds of command block delay between each step. See title and tellraw for the title.

Java Edition

Java has no /camera. A close substitute is to put players in spectator mode and lock their view to a mob or armor stand with /spectate (Java 1.15+). To move the shot, /tp the armor stand a little at a time.

Common problems

Common questions

Check your command

The Command Error Doctor checks common syntax mistakes in your browser.