---
title: "Placing Markers for Visualising A*"
content_type: tutorial
url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-4?language=en"
language: en
container_type: course
container_title: "Artificial Intelligence for Beginners"
container_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners.md?language=en&version=6.0"
unit_title: "The A* Algorithm"
unit_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng?language=en&version=6.0"
standalone_markdown_url: "https://learn.unity.com/tutorial/the-a-pathfinding-algorithm-part-4.md?language=en&version=6.0"
previous_title: "Selecting Random Starting and Ending Points in a Maze"
previous_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-3?language=en&version=6.0"
previous_markdown_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-3.md?language=en&version=6.0"
next_title: "Beginning to Search"
next_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-5?language=en&version=6.0"
next_markdown_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-5.md?language=en&version=6.0"
difficulty: intermediate
duration_minutes: 20
unity_version:
  - "6.0"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-4.md?language=en&version=6.0"
  - name: "2021.3"
    url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/a-36369ng/tutorial/the-a-pathfinding-algorithm-part-4.md?language=en&version=2021.3"
  - name: "2020.2"
    url: "https://learn.unity.com/tutorial/the-a-pathfinding-algorithm-part-4.md?language=en&version=2020.2"
last_updated: "2026-08-04T14:24:50.000Z"
---

# Placing Markers for Visualising A*

In this tutorial students will learn how to add UI text components to the markers being used to visualise the A\* algorithm.

## 1. Placing Markers for Visualising A*

[Video](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/ece85ab8-5664-542a-a8ff-0196e95c4505/versions%5B_key==%22ca6b26724a309aefd92da85fb21deb3e%22%5D.sections%5B_key==%22u6X2hMV4GZ96GPitLOjeAP%22%5D.body%5B_key==%22u6X2hMV4GZ96GPitLOjeCY%22%5D.overviewVideo/S0404_20260312_214713.mp4) ([Transcript (en)](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/ece85ab8-5664-542a-a8ff-0196e95c4505/versions%5B_key==%22ca6b26724a309aefd92da85fb21deb3e%22%5D.sections%5B_key==%22u6X2hMV4GZ96GPitLOjeAP%22%5D.body%5B_key==%22u6X2hMV4GZ96GPitLOjeCY%22%5D.subtitles/S0404%20VTT%20en_20260522_125515.vtt))

In this unit students will complete most of the code focused on running the A\* algorithms logic.
