When a person sets a course in advance to map out how to achieve a goal, it is called "planning."
The term for setting a course in advance to map out how to achieve a goal is called "strategic planning." Strategic planning is a process that involves defining goals and objectives, assessing the current situation, determining strategies and actions to reach those goals, and allocating resources effectively. It is a systematic and methodical approach to decision-making that helps individuals or organizations align their actions with their long-term objectives. Strategic planning provides a roadmap for success by identifying key steps and milestones along the way.