How can I create an AI that follows the player in c++?

Here is a playlist of c++ ai tutorials I made. Setup the ai controller and behaviour tree and then use the move too task in the behavior tree