This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MrCohen
MrCohen presents ...

2012/5/30

MouseTest

An example for use in class that demonstrates basic mouse use. All mouse coding is performed within the World. Comments within the World class explain the various commands and concepts.

3037 views / 21 in the last 7 days

Tags: mouse demo with-source mouseclicked() mousedragged() mouseinfo

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Wed May 30 13:28:20 UTC 2012
A new version of this scenario was uploaded on Sun May 12 21:17:26 UTC 2013 Left-click and drag to move the house. Right-click and release to rotate the house. Click the reset button to put the house back in the middle. Demonstrates various coding techniques to use the Mouse in Greenfoot.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.