I'm continuing work on my platform game, taking snippets from various tutorials and examples but have a little bug with my patrolling enemies.
They move from left to right correctly, I added a for each loop so I can kill each one and the others still move but when one sprite is mirrored they are all mirrored.
I tried adding a for each on the actual sprite but that didn't work. I'm thinking I need to use UIDs but not sure where to start with them.
My snippet of code looks like this so far:
Any help is appreciated.