Define should take a second argument which should remove the defined keyframe after it has been played once.