ImageLabel slightly higher than mouse instead of on mouse?

Not too sure what’s going on here, here’s what it looks like in game:

66578ba95968a3928c628ed33dd901db

The image labels size is 0, 256, 0, 256, and I’m setting the position to

Mouse.Move:Connect(function()
	UI.CursorContainer.Cursor.Position = UDim2.new(0, Mouse.X - 128, 0, Mouse.Y - 128);
end)

You can set the AnchorPoint of the label to Vector2.new(0.5, 0.5) so it moves relative to the center of the label instead of the top left.

Also it’s probably higher because of the topbar, you can try toggling UI.IgnoreGuiInset to see if it makes a difference

1 Like