Hi —, its a top down game, there are little obstacles, sorry but I havent been able to understand your answer. Im trying to post a photo but I dont know why I cant, so I explain:
The player spawns a cone (like a light), and the enemies in the cone should run away from it.