i have a question does
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter game:GetService("UserInputService").InputChanged:connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseMovement then print("delta is (" .. tostring(inputObject.Delta.x) .. ", " .. tostring(inputObject.Delta.y) .. ")") end end) --Got this from wiki
this calculate what direction you move the mouse?
If you got his from the wiki, you should probably read the whole wiki page. It probably tells you what it does.