Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[ANSWERED] Why is the mouse's position {0, -3},{0, 8}, when it should be about in the...?

Asked by 7 years ago
Edited 7 years ago

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)
0
The third argument is for y. So the Hit.y should be where the 0 is. Then the 0 is the fourth. TheUniPiggy 77 — 7y
1
Did you mean to write mouse.X and not mouse.Hit.x? 1waffle1 2908 — 7y
0
Yeah, thanks 1waffle1. GatitosMansion 187 — 7y

Answer this question