in my project whenever I hit an enemy all of the enemy sprits gets destroyed. what should I do to fix this?
So where did you set enemyuid in events?
Develop games in your browser. Powerful, performant & highly capable.
this is what I use to spawn them
Where do you call the death function? That's where the problem is