Elementary Game Design Course

This code deletes BOTH cupcake sprites. Is there a way to have it only remove the cupcake that is clicked?

hello @rbowens2,

unfortunately this does not the display any code necessary for debugging purposes, could you perhaps post the code being used so that i or someone else may be able to take a look at it

setBackgroundImageAs("glowing-circle");
makeNewSpriteAnon("game_penguin", ({"x":200,"y":200}));

keyPressed("when", "up", function () {
  });

this is an example of code that is generated from a random build you can share it to us this way by using image

Varrience