add function to click a coordinate