Getting a mouse' velocity whilst it being locked

local UIS = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Modules = ReplicatedStorage:WaitForChild("Modules")
local Basics  = require(Modules.Basics)

local Player = game:GetService("Players").LocalPlayer
local Mouse  = Player:GetMouse()

game:GetService("RunService").Heartbeat:Connect(function()
	print(UIS:GetMouseDelta())
end)

This is what I have so far, but it only prints out the true mouse delta if i hold right click. How do I make it print the mouse delta regardless of holding right click? and locking the mouse

Not sure if this is possible, but here are related articles

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.