My enemy does not follow player

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wickedwe

Hello I am following the tutorial : https://godottutorials.pro/action-rpg-godot-tutorial-part-2/

I am at the part where I am trying to get my enemy to follow the player , but just wanders off into the distance like he has depression. I have even downloaded the project and copy and pasted that script into my own project (the enemy script and player scrip) but it stil does not work.
I have no idea where to even look to solve this problem. Help?