script that records each coordinate drawn.