Hi guys,
How can you change the anchor of a sprite inside a group?
For a sprite outside the group I use this.add.sprite(100,100, 'sprite').setOrigin(0,0);
I tried the next code but It didn't work
leprosy = this.add.group([{
key: '001_leprosy',
setXY: {
x: 444,
y: 115
},
setOrigin : {x:0, y:0}
}
]);
Any ideas?
Thanks.