How to sequentially play gltf animation on button click with previous animation endstate intact?

Try it with: