im already a bit familiar of how does rectangle is used and important in manipulating images for an animation (COLLISIONS),
but how can i make a statement that will detect that a rectangle of an object(image) has been intersected by a mouse cursor, i have no more questions about mouselisteners i just want to know how to get the BOUNDS of a mouse cursor, and is it possible?
if (myImageRectangle.intersects my mouse rectangle) { // i dont know if this is fairly easy to do or possible in some way < do something here> }