Tap anywhere in the example.
When the player taps anywhere, make a star appear where they tapped.
View code
if (game.isPointerPressed()) {
const item = game.add(new ImageSprite(game, "star", game.pointerX, game.pointerY));
game.animateIntegrate(item);
}