def draw_relative(self, obj):
        """Draw objects relative to position of given one."""
        negative_topleft = -Vector2(obj.rect.topleft)

        for current_obj in self:

            obj.image.blit(current_obj.image, current_obj.rect.move(negative_topleft))
Draw objects relative to position of given one.
nodezator/classes2d/collections.py