Hello! I have gotten myself into a huge problem with what I thought should be a very easy problem.
I have created a specific movement for an enemy where the enemy will change direction when it gets near the edge of a platform. It works fine when there is only one enemy but when I add one more enemy the older one stops detecting the edges. What can I do, it seems like such an easy problem but yet it doesn't work?