Seems like, there is no click event, and one need to put input handling in a global update function that will be called by p5play for every frame.
function update() {
if ( sprite.mouse.hovering() && mouse.presses('left') )
/* mouse press event! */;
}