Enum
Enum.MouseBehavior
Sets the user's mouse behavior.
| Item | Value | Summary |
|---|---|---|
| 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. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.