enemy follow player
Hello, I'm trying to make my enemy follow my player but for some reason, the player just goes left and right. I have declared two variable of xPos and yPos and assign it to player position. attach is my enemy setting. It is supposed
to follow my player but it not. can someone please assist me. thank very much.