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 » Scripters
Home Search
 

MouseButton1Click and MouseButton1Down ?

Previous Thread :: Next Thread 
KlonoaGGNGNTT is not online. KlonoaGGNGNTT
Joined: 01 May 2016
Total Posts: 40
01 Jan 2017 04:19 AM
whats the difference between them?
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
01 Jan 2017 04:21 AM
FROM THE WIKI

MouseButton1Click ( )
Fired when the mouse has fully left clicked the GUI object. By clicking, the mouse has to be in bounds of the button and has to be pressed down and up again before this event fires.

MouseButton1Down ( int x, int y )
Fired when the mouse is in the left mouse down state on the GUI object.

MouseButton1Up ( int x, int y )
Fired when the left mouse has released the GUI object.

MouseButton2Click ( )
Fired when the mouse has right clicked the GUI object.

MouseButton2Down ( int x, int y )
Fired when the mouse is in the right mouse down state on the GUI object.

MouseButton2Up ( int x, int y )
Fired when the right mouse button has been released on a GUI Object.
Report Abuse
KlonoaGGNGNTT is not online. KlonoaGGNGNTT
Joined: 01 May 2016
Total Posts: 40
01 Jan 2017 04:25 AM
WOW THAT HELPS ALOT, THX !!!
Report Abuse
restingthings is not online. restingthings
Joined: 04 Sep 2016
Total Posts: 644
01 Jan 2017 04:57 AM
tl;dr down just means you're still holding it, click is self explanatory - just a click

practical uses for MouseButton1Click would be in guis or buttons, while MouseButton1Down would help in something that takes time to do (so for example, charging a computer which takes 5 seconds to do)


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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