Mouse click events

See function “extract_click_coordinates” from this post: