Hi ?
How could it be solved with the (move to) behavior so that the enemy does not go through the objects but instead looks for a detour to the player?
dropbox.com/preview/move%20to.c3p
It sounds like you should use the pathfinding behavior, not the moveto behavior. Pathfinding calculates a path around obstacles and moves the character along that path.
Develop games in your browser. Powerful, performant & highly capable.
Thank you InDWrekt !