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

2013/10/29

Using the mouse.

13111876 13111876

2013/10/29

#
Hello, I want to use the mouse in my game but don't know how to apply it. I have objects that I want to click on and drag it. When I drag the object it has to stay pressed till I release the mouse. Can someone help me?
Zamoht Zamoht

2013/10/29

#
Use the code from my Parabola Math scenario. The Dot class has this kind of mouse movement you are talking about.
You need to login to post a reply.