Alright, for some reason when I am constantly moving a frame to the mouse position there is a delay as if I were tweening the frame to the mouse position when it should be snapping to the mouse.
The issue I’m having only occurs when I’m in the actual game and not in studio.
I’ve tried using different types of loops to see if there would be a change in delay but there were no changes and I tried using the Move event of the mouse and yet there were no changes in result.
Most recent code:
game:GetService("RunService").RenderStepped:connect(function() local mp = game:GetService("UserInputService"):GetMouseLocation() script.Parent.Position = UDim2.new(0, mp.X, 0, mp.Y) end)
Any help would be appreciated