def METHOD_NAME(self, ev):
    """Handler for mouse or finger release"""
    if self.tool == 'select':
        self.tool = 'selected'
        self.X1, self.Y1 = self.mouse_pos(ev)
        self.X0, self.X1 = min(self.X0, self.X1), max(self.X0, self.X1)
        self.Y0, self.Y1 = min(self.Y0, self.Y1), max(self.Y0, self.Y1)
        zone.style.cursor = 'move'
    self.drawing = False