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

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