<!-- Copyright Magic Leap, Inc. 2018.-->
<!-- You may reuse the code below, but not the visual assets themselves.-->

        <ml-model
              id="birdModel"
              src="turkey/turkey4.fbx"
              materials="kmat: turkey/turkey.kmat; textures: turkey/turkey_baseColor.png turkey/turkey_Normal.png turkey/turkey_Roughness.png;"
              model-scale="0.5 0.5 0.5"
              model-animation="walking, false, 5"
              model-animation-speed="2">
        </ml-model>
        <script>
          // Listen for model animation end event.
              birdModel.addEventListener('model-animation-end', (e) => {
          // Start another animation.
                  walking1.pause();
                  spotted1.play();
                  birdModel.animation = "spotted, false, 1";
              });
        </script>