---
title: "Leaf and Action Nodes"
content_type: tutorial
url: "https://learn.unity.com/tutorial/leaf-and-action-nodes?language=en"
language: en
difficulty: intermediate
duration_minutes: 20
unity_version:
  - "2021.3"
supported_unity_versions:
  - name: "2021.3"
    url: "https://learn.unity.com/tutorial/leaf-and-action-nodes.md?language=en&version=2021.3"
  - name: "2021.1"
    url: "https://learn.unity.com/tutorial/leaf-and-action-nodes.md?language=en&version=2021.1"
  - name: "2020.3"
    url: "https://learn.unity.com/tutorial/leaf-and-action-nodes.md?language=en&version=2020.3"
  - name: "2020.2"
    url: "https://learn.unity.com/tutorial/leaf-and-action-nodes.md?language=en&version=2020.2"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/leaf-and-action-nodes.md?language=en"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/leaf-nodoto-action-nodo.md?language=ja"
last_updated: "2026-08-04T14:24:02.000Z"
---

# Leaf and Action Nodes

In this unit, you begin coding leaf nodes to drive behavior and move a NavMesh Agent character.

In this lecture students will work begin writing the code for leaf nodes and get their NavMeshAgent character moving.

## 1. Leaf and Action Nodes

[Video](https://connect-mediagw.unity.com/h1/20220916/videos/f2cb6e87-f5ff-42f6-9541-58656fc842f7_S1104.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20221012/307ce8ec-38b1-4ce5-9032-0485ab195841_S1104.vtt))
