In my game, multiple enemies can be in the same coordinates. When i shooting towards enemies, I would like to substract damage to only one enemy. But how to do this if all the enemies are in the same coordinates?
I tried to do something like this but no result