Creating animated sprites from object layer (tiled)

Hi,

I’ve created a map with tiled and added an object layer with coins.
I’m able to create them / add collision using the following code:

this.coinLayer = this.map.getObjectLayer('coins')['objects'];
this.coins = this.physics.add.staticGroup();
this.coinLayer.forEach(object => {
  this.coins.create(object.x, object.y - 20, "coin");
});
this.physics.add.overlap(this.player, this.coins, this.collectCoin, null, this);

however when I create the object and pass in an animation (“coin” is an animation key created with anims.create) it’s not loaded (I get the default X marking)

What am I doing wrong?