Script captures and 'trims' pointed coordinates, and also draws a line to every point (indicated properly).