This site requires JavaScript, please enable it in your browser!
Greenfoot back
-nic-
-nic- wrote ...

2012/4/11

is mouse down

-nic- -nic-

2012/4/11

#
im trying to fing a method that checks if the mouse is down i coudent find it on the greenfoot api please help
danpost danpost

2012/4/11

#
Look again -- in the Greenfoot class, there is a method called mousePressed().
-nic- -nic-

2012/4/11

#
thanks :{)
SPower SPower

2012/4/11

#
I like to use the mouseClicked(). Method, which is true when the user pressed the mouse and released it. That only happens one in a row, and the mousePressed() could be true multiple times in a row.
-nic- -nic-

2012/4/11

#
hmm i see what you mean but i think ill keep mouse pressed thx
You need to login to post a reply.