Jump to content

group.setALL not working


Le Twitch
 Share

Recommended Posts

Main.Game.prototype = {  create: function() {    var square = this.add.group();        var squareA = this.add.sprite(55, 370, 'colourSquare', 'red');    var squareB = this.add.sprite(675, 370, 'colourSquare', 'blue');    square.add(squareA);    square.add(squareB);   square.setALL('inputEnabled', true);  }};

this is the code i used

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...