Have A.I look for player character?

I’ve set that up already, now I just need for the A.I to just walk around instead of just standing there if the A.I doesn’t see the player character.