How to tell if player is using Shift Lock

Hello! I would like to know how I could tell if the player is in shift lock.

1 Like

Hey! here:

a quick google search would have done the trick though.

here

local UserInputService = game:GetService("UserInputService")
    while wait(1) do
    if UserInputService.MouseBehavior == Enum.MouseBehavior.LockCenter then
        --do stuff
    end
end
7 Likes