Service · inherits Instance
MouseService
Engine service that manages mouse cursor rendering, mouse lock behavior, the cursor-icon stack, delta sensitivity, and mouse position, delta, and button tracking.
About MouseService
Not accessible from scripts (Input security). MouseService manages
the mouse cursor and mouse input state — cursor rendering (software cursors
drawn by the engine and hardware cursors drawn by the operating system), mouse
lock behavior, the contextual cursor-icon stack, mouse delta sensitivity, and
tracking of the current mouse position, delta, and button state.
UserInputService delegates its mouse-related members — such as
MouseBehavior,
MouseIcon,
MouseIconEnabled, and
MouseDeltaSensitivity — to this
service.
MouseService also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.