# Turn Camera Mouse Rotation On/Off

Grammar — Turn camera mouse rotation enable for player player
FlagsNative | Action

When this is turned on, it will make a player’s drag-scroll camera movements rotate the camera in a free look fashion rather than drag the camera. Use in conjunction with “Lock Camera Mouse Relative Mode On/Off” to make an FPS-style camera.

# Arguments

  • int — Player
  • bool [ preset::OnOffOption ] — On/Off

Returns — void

native void CameraSetMouseRotates(int player, bool value);

Category: Camera / Camera Tricks

# Examples

— None found —