MouseBehavior¶
Supported Enum
Sets the user's mouse behavior.
Description¶
Used with the UserInputService.MouseBehavior property of UserInputService to set how the user's mouse behaves.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Default |
0 | Supported | The mouse moves freely around the user's screen. |
LockCenter |
1 | Supported | The mouse is locked and cannot move from the center of the user's screen. |
LockCurrentPosition |
2 | Supported | The mouse is locked and cannot move from its current position on the user's screen at the time of locking. |
Roblox reference: MouseBehavior