Reference API Roblox

Engine API

Website

Related

Reference API Roblox

MouseBehavior

Sets the user's mouse behavior.

Items 3

HistoryNameValueDescription
158Default0

The mouse moves freely around the user's screen.

158LockCenter1

The mouse is locked, and cannot move from, the center of the user's screen.

161LockCurrentPosition2

The mouse is locked, and cannot move from, it's current position on the user's screen at the time of locking.

Description

Used with the UserInputService.MouseBehavior property of UserInputService to set how the user's mouse behaves.

History 4

Settings