How do I use mousePressed?

edited October 2013 in How To...

I want to use mousePressed() because with the normal variable the function is repeated until the mouse is released. But I don't know how to make functions that only happen when the mouse is pressed in a certain area. Does anyone know how to? Thanks

Answers

Sign In or Register to comment.