def midleft(self, value):
        """Move rects uniformly so 'midleft == value'."""
        self._sample_rect.midleft = value

        self.move_ip(self._sample_rect.midleft - Vector2(self.midleft))
Move rects uniformly so 'midleft == value'.
nodezator/rectsman/spatial.py