Sprites do not display in the right place

Hi, I have a problem with inappropriate sprite placement. I set its anchor to point 0.0 and x, y to 0.0.

this.add.sprite(0,0,'coin').setOrigin(0)

Despite this, it displays shifted to the left, as in the attached image. What can this cause?

Just to be sure: the coin image in its entirety does not look like that on the picture, right? Or the sprite you use. Maybe the coordinates are wrong in the sprite sheet.

Apart from an incorrect spritesheet or atlas, which is what fselcukcan suggested, the camera’s state (position, scroll, mask, etc.) could be another likely problem. It’s hard to say anything concrete without runnable code which reproduces your issue.

A jsfiddle or similar would be useful as usual.

let coin = this.add.sprite(0,0,'coin').setOrigin(0)
console.log(coin.width,coin.height)

could you run this code and tell us the result?