Why is the mouse's position {0, -3},{0, 8}, when it should be about in the middle of the screen? It moves the text label way off from the middle. Thanks!
TextLabel.Position = UDim2.new(0, player:GetMouse().Hit.x, 0, player:GetMouse().Hit.y)
Why is the mouse's position {0, -3},{0, 8}, when it should be about in the middle of the screen? It moves the text label way off from the middle. Thanks!
TextLabel.Position = UDim2.new(0, player:GetMouse().Hit.x, 0, player:GetMouse().Hit.y)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
The third argument is for y. So the Hit.y should be where the 0 is. Then the 0 is the fourth.
Did you mean to write mouse.X and not mouse.Hit.x?
Yeah, thanks 1waffle1.