Mouse follow cursor fix

What I’m doing here is making an image follow the mouse, it works but when the screen gets smaller the image gets further away from the mouse.

The image being the cursor and the mouse being the dot.

The script:

local Mouse = game.Players.LocalPlayer:GetMouse()

Mouse.Move:Connect(function()

script.Parent.Position = UDim2.new(-0.02, Mouse.X , 0, Mouse.Y)

end)

It’s because you are using offset instead of scale.

Also, whats wrong with using mouse.Icon ?