I want to check if I am holding down my mouse when using a GUI.button. I have been searching the forum but I can't find anything that works:
here is how a single mouse click works. Only thing left to do is check for mouseDown instead of mouseClick
asked Dec 21 '10 at 08:14 PM
What you're looking for is the UI widget 'RepeatButton' which repeatedly returns true while the user holds left mouse button down over it:
answered Dec 21 '10 at 08:53 PM
Have a look at this.
answered Dec 21 '10 at 08:32 PM