Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

How do you get the mouse click count to return an int?

+2 votes
asked Feb 4, 2015 in (Winter 14) by Rafael Rodriguez (100 points)

1 Answer

+1 vote
There is no "mouse click count".

You can call checkMouseClicked() to return whether the mouse has been clicked (once, or possibly more times) since the last time you called this method, and you can do this in a loop, and use a variable to keep a count yourself...
answered Feb 8, 2015 by Forrest Stonedahl (100 points)