Skip to content
Roblox API Reference

Enum.ControlMode

The ControlMode Enum sets how the player is controlled.
Items
2
Uses
1

Items2

  • 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).

    Legacy names: Mouse Lock Switch

Used by properties1