thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 14 Jul 2014 09:19 AM |
Hey guys,
I've never done this before, so I have no idea how it's done. How would I make it so if your Mouse hovers over a Part then do something. How would I detect when the mouse is over the BasePlate?
Thanks |
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 14 Jul 2014 09:22 AM |
To tell when a player's mouse has moved, used he 'Move' event. To then get what they're pointing at, with the mouse, you can use the 'Target' property of their mouse.
If you want something to popup next to their mouse, you can get the X and Z position of the mouse, on their screen, using the X and Z properties of the player's mouse. |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
| |
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 14 Jul 2014 09:24 AM |
Mouse.X and Mouse.Z is a thing?
|
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 14 Jul 2014 09:25 AM |
Indeed.
For a full list of 'goodies': http://wiki.roblox.com/index.php?title=API:Class/PlayerMouse |
|
|
| Report Abuse |
|
|