draws on grid when clicked on