Hi,

Im a beginner in Java and I'm creating a simple game. I have an arrayList of entities (cars in my case), I need to be able to detect a mouse click on an individual object (car) in the array. I need to do this so I can change the speed of the car if it has been pressed. Im not sure how to go about doing this, hope somebody can help me out here.

Thanks.