How can I create random position enemies in walkable area?

Hello guys, I want to create enemies in walkable area(green area).
Is there any function that I can detect whether position is in area or not?

thanks a lot!!

Hi

You might be interested in this tutorial: Wandering AI Tutorial - A* Pathfinding Project

1 Like