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