# ControlMode(ロブロックス 列挙型(Enum)) > The ControlMode Enum sets how the player is controlled. - URL:https://roblox.minecraft-okinawa.com/reference/enums/ControlMode/ - 公式:https://create.roblox.com/docs/reference/engine/enums/ControlMode ## 選べる値 - Enum.ControlMode.Classic(0):Allows the camera to be moved by clicking and dragging with the right mouse button. - Enum.ControlMode.MouseLockSwitch(1):Similar to classic, but allows the player to toggle mouse locking, causing the camera to rotate as the player moves the mouse (without holding down a button). 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)