shimozurdo

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. You can set name for every item in the group: for(let i= 0;i < 11;i++){ let star = this.physics.add.sprite(12 + (i * 70), 0, 'star'); star.name = "star-" + i; this.starsGrp.add(coin); } And then get the unique chlid: let star = this.starsGrp.getChildren().find(v => v.name === "star-1");