I using Extending Sprite for my game FishSprite.js: FishSprite = function (game, x,y,key) { Phaser.Sprite.call(this, game, x, y, key); this.anchor.setTo(0.5, 0.5); game.add.existing(this);}; FishSprite.prototype = Object.create(Phaser.Sprite.prototype);FishSprite.prototype.constructor = FishSprite; FishSprite.prototype.update = function() {}; using in Game.js this.s_fish1 = new FishSprite(this,50,400,'fish1'); // use this will errorthis.s_fish1.animations.add('s_fish1boi', [0,1,2,3], 10, true); // error herethis.s_fish1.animations.play('s_fish1boi'); Pls help me!my src in attach files Fish.zip