Quantcast
Channel: Answers for "Gui Buttons Single and Double click"
Viewing all articles
Browse latest Browse all 6

Answer by cncguy

$
0
0

Do just what spinal Jack said but also save a reference to the rectangle used as the Rect() in drawButton. Then on the second click check the time and also check to see if the saved rect contains the mouseposition. If it does then it's a double click, if it's not then it's a different button click.


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>