So, me and a friend are making a surfacegui computer thing, and I was wondering how I'd move the GUI object onto the cursor, relative to the surfacegui, so while my cursor is on the surfacegui, the cursor goes onto my mouse on the surfacegui. Here's my code so far:
mouse.Move:connect(function()
cursor.Position = UDim2.new(0,mouse.X,0,mouse.Y)
print(cursor.Position)
end)
I've tried multiple things, but I can't do it. Any help?

1 comment
Why not just place a part with a pointer decal under the mouse directly if it's in the screen?