devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
|
| 04 Feb 2015 05:18 PM |
How would I know when the player's mouse is on the gui?
I have a LocalScript inside of a gui, and I got the mouse but I don't really know how to do it. I figured that I could do a while loop to check if it's on it, but it would be easier if there was an event. Is there? What's the best way?
Thanks!
| devTools || Builder, Scripter, Forumer | |
|
|
| Report Abuse |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 04 Feb 2015 05:20 PM |
MouseEnter
http://wiki.roblox.com/index.php?title=API:Class/GuiObject/MouseEnter |
|
|
| Report Abuse |
|
devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
|
| 04 Feb 2015 05:23 PM |
Thanks!
| devTools || Builder, Scripter, Forumer | |
|
|
| Report Abuse |
|