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

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