InputObject.Delta

UserInputService’s InputObject.Delta does not work unless you are holding down MouseButton2 (right click) and even while holding that down it never returns the mousewheel movements.

InputObject.Delta.X/Y are mouse movements
InputObject.Delta.Z is the mousewheel

Repro:

  1. Insert LocalScript where ever it works.
  2. Put in the following code:
game:GetService("UserInputService").InputChanged:connect(function(input)
	print("Position: ", input.Position);
	print("Delta: ", input.Delta);
end)
  1. Run solo or test server with a player
  2. Move mouse around

That’s supposed to happen. Delta is for when the mouse is locked in place. Position is for when it’s not.

Even so, shouldn’t it work all the time and not just when it is locked?