Navmesh Enemy ai

I want to make my enemy walk around objects when chasing me. I have a script all set with the chasing. Just when he sees me he runs to me and gets stuck hind the table. How would i make it so the enemy walks around the table?

Hey, there! What you’re looking for is called pathfinding. There are lots of tutorials on YouTube to help you out with this. For example, this tutorial you might find interesting. Like I said, there are tons of tutorials on this subject. So, don’t just look at that one specific tutorial! Good luck!