prints out x1 x2 values on console after you drag