title: How do I scale a group in Phaser 3
body: <p>In Phaser 2 we scale a simple by setting the scale property as explained in docs:  </p>
  
  <p><a href="https://phaser.io/examples/v2/groups/group-scale" rel="nofollow noreferrer">https://phaser.io/examples/v2/groups/group-scale</a></p>
  
  <p>But there is no equivalent in Phaser v3. </p>
  
  <p>The possible url <a href="https://phaser.io/examples/v3/groups/group-scale" rel="nofollow noreferrer">https://phaser.io/examples/v3/groups/group-scale</a> points to nothing. And if I do:</p>
  
  <pre><code>this.enemies = this.add.group();
  this.enemies.scale.set(2, 2);
  </code></pre>
  
  <p>It throws:  </p>
  
  <pre><code> Phaser v3.19.0 (WebGL | Web Audio)  https://phaser.io
  indexph.js:22 Uncaught TypeError: Cannot read property 'set' of undefined
  </code></pre>
  
  <p>What is the appropriate form to scale a group of sprites in Phaser 3? </p>
  
  <p>The code below should work, I think, But it doesn't.... it doesn't scale  objects that are created from the group:</p>
  
  <pre><code>preload() {
      this.load.atlas("sprites", "assets/spritesheet.png", "assets/spritesheet.json")
  }
  
  create() {
  
  
      this.enemies = this.add.group({
          key: 'sprites' ,                        
          setScale: { x: 0.1, y: 0.1 }
      });
  
      this.enemies.create(60, 60, 'sprites', 'hamburguer.png');
  </code></pre>