# Get Distance Along Spline Location - Print String problem 

**URL:** <https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 20, 2026, 5:52am UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107 "2026-02-20T05:52:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![panos\_toubanos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panos\_toubanos](https://forums.unrealengine.com/u/panos_toubanos)\
**Post date:** [February 20, 2026, 5:52am UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/1 "2026-02-20T05:52:46Z")

</div>

Hi I’m following along a Kart Racer tutorial found here: [Unreal Engine 5 Tutorial - Kart Racer Part 5: The Track](https://www.youtube.com/watch?v=yvgv2Q4iuqs&list=PLAZ55ud6nlFGZdu3ZvlB3Ciu_nUX177YZ&index=7)

At around 10:00, the tutorial is trying to use the “Get Distance Along Spline At Location” and “Find Location Closest to World Location” to keep track of laps in a kart racer. I followed it exactly, however, when I put it on Event Tick I’m getting a static number in the Print String, instead of a constantly changing number as shown in the video. Anyone have any idea what I’m doing wrong?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/a/e6a79345da5b037c1b18a5996b0e327ec9166b01.png)

You can see in these screenshots, the number doesn’t change.

 ![Screenshot 2026-02-18 204841](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/c/e9cd3503e29b53e40843b8bb23e1405a4ad81514.jpeg)

 ![Screenshot 2026-02-18 204824](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/3/473c6689e5f6edaa33c98445787615daddb360a3.jpeg)

I called the “GetTrackProgress” function on Event Tick, so I’m not sure why it’s a static number. Any help would be appreciated!!

---

<div class="post-metadata">

**Author:** ![lordlolek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lordlolek/32/906205_2.png) [@lordlolek](https://forums.unrealengine.com/u/lordlolek)\
**Post date:** [February 20, 2026, 8:33am UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/2 "2026-02-20T08:33:43Z")

</div>

Is this your Cart bp on your screenshot?  
Add Draw Debug Sphere as shown on the screenshot. Then hit play and look for big debug sphere. This is the location that your BP is tracking.

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/1599bacf27d416efbc0b9ec4d9a57ea1b13f5271.png)

---

<div class="post-metadata">

**Author:** ![panos\_toubanos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panos\_toubanos](https://forums.unrealengine.com/u/panos_toubanos)\
**Post date:** [February 20, 2026, 1:28pm UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/3 "2026-02-20T13:28:43Z")

</div>

> [@lordlolek](#):
>
> Draw Debug Sphere

Thanks. I did this and it looks like it gets the “PlayerStart” location and doesn’t update from there.

The screenshot from my original post is from a custom function from within my Kart BP yes. Is there maybe some issue with the mapping context?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/1/991f63105932f247053ae615713e1f31f1985e0c.png)

Any other fixes would be welcome! Thank you.

---

<div class="post-metadata">

**Author:** ![panos\_toubanos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panos\_toubanos](https://forums.unrealengine.com/u/panos_toubanos)\
**Post date:** [February 20, 2026, 1:29pm UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/4 "2026-02-20T13:29:42Z")

</div>

![Screenshot 2026-02-20 082223](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/8/638e5d11a9bdcabfa1090fabf4c7be3733d08e36.jpeg)

You can see in this screenshot the location is from the “Playerstart” position, not tracking the kart location.

---

<div class="post-metadata">

**Author:** ![lordlolek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lordlolek/32/906205_2.png) [@lordlolek](https://forums.unrealengine.com/u/lordlolek)\
**Post date:** [February 20, 2026, 3:30pm UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/5 "2026-02-20T15:30:56Z")

</div>

Ok, Is it possible you are moving components of the Kart instead of the whole Actor? You can try to replace Get Actor Location with Get World Location of the Kart Mesh or other component you are sure is moving and see if it works

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/f/e4f9f91f6f566299f0445d6ed4c050ae65f8931f.png)

---

<div class="post-metadata">

**Author:** ![panos\_toubanos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@panos\_toubanos](https://forums.unrealengine.com/u/panos_toubanos)\
**Post date:** [February 20, 2026, 3:33pm UTC](https://forums.unrealengine.com/t/get-distance-along-spline-location-print-string-problem/2701107/6 "2026-02-20T15:33:44Z")

</div>

Switched it to “Get World Location” for the mesh, and that seemed to work. Thank you!
