Displaying an image every time mouse is pressed, at the coordinates where the mouse press ocurred
No image is displayed when I press the mouse. But the display on the command window shows that the mouse has been pressed and the coordinates where mouse was pressed.