/controlscheme

From Minecraft Wiki
Jump to navigation Jump to search
This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/controlscheme
Permission level
required
1
Restrictions Cheat only

Modifies player's control scheme of camera presets.

This command needs to be used together with /camera command.

Syntax

[edit | edit source]
controlscheme <players: target> clear
Clears the control scheme.
controlscheme <players: target> set <control scheme: controlscheme>
Sets the control scheme.

Arguments

[edit | edit source]

players: target: CommandSelector<Player>

Specifies the player that the control scheme will be modified.
Must be a player name or a target selector.

control scheme: controlscheme: Enum

Specifies the control scheme.
Must be a string. And it must be a single word that has no space or a double-quoted string (When quoted, \ can be used to escape characters).
Must be one of the following:
  • camera_relative — Move relative to the camera, keep the viewing angle horizontal and follow the direction of movement.
  • camera_relative_strafe — Move relative to the camera, keep the viewing angle horizontal and follow the facing.
  • locked_player_relative_strafe — Move relative to the player and follow the facing.
  • player_relative — Move relative to the player, keep the viewing angle horizontal and follow the direction of movement.
  • player_relative_strafe — Move relative to the player, keep the viewing angle horizontal and follow the facing.

Result

[edit | edit source]

CommandTriggerBedrock Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
players: target fails to resolve to one or more online players. Failed
OtherwiseSuccessful

Output

[edit | edit source]

CommandEditionSituationSuccess Count
AnyBedrock EditionOn fail0
On successThe number of targeted players

History

[edit | edit source]
Bedrock Edition
1.21.80
Experiment
Experimental Creator Camera Features
Preview 1.21.80.27Added /controlscheme behind the "Experimental Creator Camera Features" experimental toggle.
1.21.90Preview 1.21.90.23/controlscheme is now available without using the "Experimental Creator Camera Features" experimental toggle.
Preview 1.21.90.26Control scheme camera_relative_strafe is now available without using the "Experimental Creator Camera Features" experimental toggle.
[edit | edit source]
[edit | edit source]