AI...so frusterating

hey sorry but i know this has been asked about a bagillion
but i need some codes so that my boss actor moves towards my player and changes animation when he is walking left and right but he always stays on tha ground so can anyone help me? ',:|
but i need some codes so that my boss actor moves towards my player and changes animation when he is walking left and right but he always stays on tha ground so can anyone help me? ',:|