This example assigns the path target depending upon the button clicked and plays relative to the target's current position.