Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I'm not the downvoter... But «...having it do that every 100 ms as long as mouse is down.» Commented Aug 21, 2017 at 22:35
  • 1
    I've updated my code to create a second function to stop the timer once the button is no longer held down =] Commented Aug 21, 2017 at 22:37