I am trying to use path.onFrame to animate the writing of a path, where segments are added during each frame. I need to be able to stop the specific frame event for that pat