Been trying to do this for a while, Mouse.Idle
doesn't seem to fire if InputService.MouseBehavior
is set to Enum.MouseBehavior.LockCenter
, I'm not sure what else to use. Can anyone help me?
I think you're right that Idle is broken. You could do a simple loop to replicated it though.
local idleTime = 0.5 --seconds until mouse is considered idle local moved=false mouse.Move:connect(function() moved=true end) spawn(function() while wait(idleTime) do if not moved then print('Mouse Idled') mouse.Move:wait() end moved=false end end)