If you animate your PathFollow2D's offset with an AnimationPlayer, you can set the AnimatedSprite's playing
property to false at the end of your animation. Otherwise, you could check for the PathFollow2D's unit_offset
being 1.0 in _process
and then stopping the animation manually.