Not sure how you can get simpler than a single event.
For clicking it and spawning another sprite on top, you don't even need to store the x/y of every sprite in an array, you can just use the sprite "spawn an object" action.
can you help me with this.
there are 10 sprites, when i left click the sprite, another object appear on top of it, i dont know what is the event in C2, the logic is.
-> Every left click on each the 10 sprites
-> Make an object appear on top of it.
for now, i store their X dan Y, and then make 10 event for each sprites.