Debug with Editor

here you can see how to check the Mouse Button:

see Counter that increases with mouse click

for the coordinates: https://www.processing.org/tutorials/drawing/