   pauseBtn.addEventListener('click', (evt) => {
        fglayer.timeline.playbackRate = 0;
      });

      playBtn.addEventListener('click', (evt) => {
        fglayer.timeline.playbackRate = 1;
      });

      const birdCountLabel = new spritejs.Label();
      birdCountLabel.attr({
        pos: [60, 20],
        font: '36px Arial',
        fillColor: 'white',
      });

      bglayer.appendChild(birdCountLabel);

      setInterval(() => {
        birdCountLabel.text = `playbackRate: ${fglayer.timeline.p