How can I get the direction of where I should go?

Instead of letting the Seeker component move my GameObject, I want to control its movement myself.
Given my GameObject’s position and a target position (that is constantly moving), how can I get the direction I should move in each frame?

Hi

You may be interested in Writing a movement script - A* Pathfinding Project
Or alternatively IAstarAI - A* Pathfinding Project