Skip to content
Roblox API Reference

Enum.MouseBehavior

Sets the user's mouse behavior.
Items
3
Uses
1

Items3

  • Enum.MouseBehavior.Default = 0
    The mouse moves freely around the user's screen.
  • Enum.MouseBehavior.LockCenter = 1
    The mouse is locked and cannot move from the center of the user's screen.
  • Enum.MouseBehavior.LockCurrentPosition = 2
    The mouse is locked and cannot move from its current position on the user's screen at the time of locking.

Used by properties1