     width: 100%;
      height: 0;
      padding-bottom: 100%;
      background: #ccc;
    }  
  </style>
</head>
<body>
  <div id="stage"></div>
  <script>
    const {Scene, Sprite, Group} = spritejs;
    const container = document.getElementById('stage');
    const scene = new Scene({
      container,
      width: 1200,
      height: 1200,
    });

    const bglayer = scene.layer('bglayer');
    const fglayer = scene.layer('fglayer');
    
    fglayer.addEventListener('click', (e) => {
      console.log(1