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

how do you get the position of your mouse?

Asked by
Prioxis 673 Moderation Voter
10 years ago

I'm making a custom cursor for my game but I want to know how to get the position of the mouse

1 answer

Log in to vote
1
Answered by 10 years ago

Let's Say you get the Mouse. Mouse = Player:GetMouse() To access the position of the mouse. You use Mouse.X and Mouse.Y

This Place is editable and has a script in it showing X and Y in action:L

http://www.roblox.com/MouseStuff-place?id=172177094

0
oh okay thanks Prioxis 673 — 10y
Ad

Answer this question