I have a problem with my enemies AI, when the player touches the detection radius all the enemies of the same type just go to the player and i dont want that and idk how to fix it. Here is a photo of my code:
Develop games in your browser. Powerful, performant & highly capable.