def METHOD_NAME(self, x: float, y: float, button: int, modifiers: int):
    # if we pick a Box with the mouse, "hold" it and stop its movement
    if self.box.collides_with_point((x, y)):
        self.hold_box = self.box
        self.hold_box.stop()