Sprite tooltip

I have another issue. I would like to make many sprites and use one tooltip for them.
for (var i = 0; i < 10; i++)
{
this.add.sprite(i32-16, i32-16, ‘village’).setInteractive();
}

I’m not sure how to set position related to village. I tried gameObject but it didn’t worked.
this.input.on(‘pointerover’, function (gameObject) {
console.log(“hover”);
tooltip.setPosition(gameObject.x / cam.zoom, gameObject.y / cam.zoom)
tooltip.visible = true;
});