generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How would I....Mouse

Previous Thread :: Next Thread 
thetacah is not online. 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 is not online. 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 is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
14 Jul 2014 09:22 AM
:D
Report Abuse
thetacah is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image