How to use mousePressed with mouseX and mouseY?

Hey There!

Have you looked into mousePressed ? Also having a bounding for each shape to be able to choose it.
And it be great for a simple example !