I've been going through the beginner tutorials and was hoping someone could set me in the right direction with the problem I am having.
I would like to 'shoot' a rectangle across the screen when the mouse is pressed (kind of like the car example, if anyone has gone throught the tutorials). Right now, I can get the rectangle across the screen while the mouse is pressed the entire time, but I'd like to just click once and have it go across...
I wasn't using the void mousePressed() method until I started looking through the forums. I've moved stuff around and at this point the rectangle isn't moving at all.