def reset(self):
    self.update()
    time.sleep(0.1)
    self.canvas.delete(self.rect)
    origin = np.array([20, 20])
    self.rect = self.canvas.create_rectangle((origin[0] - 15), (origin[1] - 15), (origin[0] + 15), (origin[1] + 15), fill='red')
    return self.canvas.coords(self.rect)
def reset(self):
    self.update()
    time.sleep(0.1)
    self.canvas.delete(self.rect)
    origin = np.array([20, 20])
    self.rect = self.canvas.create_rectangle((origin[0] - 15), (origin[1] - 15), (origin[0] + 15), (origin[1] + 15), fill='red')
    return self.canvas.coords(self.rect)