---
title: "Commanding a Path"
content_type: tutorial
url: "https://learn.unity.com/tutorial/commanding-a-path?language=en"
language: en
difficulty: intermediate
duration_minutes: 25
unity_version:
  - "6.0"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/tutorial/commanding-a-path.md?language=en&version=6.0"
  - name: "2021.3"
    url: "https://learn.unity.com/tutorial/commanding-a-path.md?language=en&version=2021.3"
last_updated: "2026-08-04T14:23:47.000Z"
---

# Commanding a Path

In this tutorial students will implement a waypoint path following code for the tank NPC.

## Materials

- [S0511SolutionU6.zip](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b19c4b78-ef5d-513d-befa-3c513418cc98/versions%5B_key==%2230eeb7a3c724e4cad46d9220774a84d7%22%5D.materials%5B_key==%229c6df924be9e%22%5D.file/S0511SolutionU6_20260313_173602.zip)

## 1. Traversing a Path

[Video](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b19c4b78-ef5d-513d-befa-3c513418cc98/versions%5B_key==%2230eeb7a3c724e4cad46d9220774a84d7%22%5D.sections%5B_key==%228KfwgJtj1rZ1EivCZvxXKy%22%5D.body%5B_key==%228KfwgJtj1rZ1EivCZvxXPS%22%5D.overviewVideo/S0510_20260313_173658.mp4) ([Transcript (en)](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b19c4b78-ef5d-513d-befa-3c513418cc98/versions%5B_key==%2230eeb7a3c724e4cad46d9220774a84d7%22%5D.sections%5B_key==%228KfwgJtj1rZ1EivCZvxXKy%22%5D.body%5B_key==%228KfwgJtj1rZ1EivCZvxXPS%22%5D.subtitles/S0510%20VTT%20en_20260522_130003.vtt))

## 2. Giving Commands to Pathfind

[Video](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b19c4b78-ef5d-513d-befa-3c513418cc98/versions%5B_key==%2230eeb7a3c724e4cad46d9220774a84d7%22%5D.sections%5B_key==%228KfwgJtj1rZ1EivCZvxXYQ%22%5D.body%5B_key==%228KfwgJtj1rZ1EivCZvxXcu%22%5D.overviewVideo/S0511_20260313_174249.mp4) ([Transcript (en)](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b19c4b78-ef5d-513d-befa-3c513418cc98/versions%5B_key==%2230eeb7a3c724e4cad46d9220774a84d7%22%5D.sections%5B_key==%228KfwgJtj1rZ1EivCZvxXYQ%22%5D.body%5B_key==%228KfwgJtj1rZ1EivCZvxXcu%22%5D.subtitles/S0511%20VTT%20en_20260522_130014.vtt))

In this tutorial students will complete programming the waypoint navigation system by adding command buttons to the environment.
