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

Can you track a mouse within a surface GUI?

Asked by 8 years ago

With surface a GUI is it possible to find where a player's mouse is located on said GUI? If possible would this in Pixel dimensions, or something else?

If you need any more elaboration I will tell you what I'm trying to do. -I am trying to find where the player's mouse is on a textbox or image box within a Surface GUI -Then I'm going to take those coordinates, and position another Image within the Surface GUI -That image would be a mouse icon, or a similar icon

Yes, I could cheat a when a player's mouse enters a Surface GUI then the icon would change, and when it leaves it changes again , but it would conflict with gear and $#*t like that.(Also I'm not lazy)

Answer this question