The code to do this is not simple but fortunately Jamie Garroch has done it for you.

Free PowerPoint VBA to add shape to animated group or object | YOUpresent