# Height Tracker  

**URL:** <https://forums.unrealengine.com/t/height-tracker/2555876>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, editor, question, fortnite\
**Created:** [June 14, 2025, 1:05am UTC](https://forums.unrealengine.com/t/height-tracker/2555876 "2025-06-14T01:05:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rooooooooooo\_bin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rooooooooooo\_bin](https://forums.unrealengine.com/u/Rooooooooooo_bin)\
**Post date:** [June 14, 2025, 1:05am UTC](https://forums.unrealengine.com/t/height-tracker/2555876/1 "2025-06-14T01:05:28Z")

</div>

How can I display the current player height live in Fortnite Creative or UEFN during the game? I’m looking for a way to show the player’s altitude on screen, possibly using a HUD Message Device or a similar method. Also, how can I set up a timer that tracks how long a player takes to finish a course, and how can I create a leaderboard to show the best times?

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 14, 2025, 1:40am UTC](https://forums.unrealengine.com/t/height-tracker/2555876/2 "2025-06-14T01:40:21Z")

</div>

Assuming you have the Hud Message Device already referenced in the verse code to show The players altitude you can do something like this

```auto
StM<localizes>(String:string):message="{String}"
ShowAltitude(Agent:agent):void=
        if(FortCharacter:=Agent.GetFortCharacter[]):
              HudMessageDevice.Show(Agent,StM("Height {FortCharacter.GetTransform().Translation.Z}")

```

Whenever you call this function it will show the hud message and display their current Z coordinate which represents the altitude.

For a timer you can use the timer device to start at the bottom of the course and then finish it at the top. Creative already has a built-in leaderboard system that you can utilize to display the “Time” stat from the timer when they finish

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [June 16, 2025, 4:45pm UTC](https://forums.unrealengine.com/t/height-tracker/2555876/3 "2025-06-16T16:45:28Z")

</div>

Hello,

For altitude I’m reminded of [this tutorial](https://www.youtube.com/watch?v=1AawZzqMJ1Q) from the ‘Only up’ craze. - Although I do like the simplicity of a MessageDevice based solution instead of all that widget + text block stuff.

I think the system that Mineblo is referring to is the ‘Speedway Race with Verse Persistence’ sample in the “Feature Examples” section.

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 17, 2025, 2:27am UTC](https://forums.unrealengine.com/t/height-tracker/2555876/4 "2025-06-17T02:27:28Z")

</div>

> [@Astrotronic](#):
>
> I think the system that Mineblo is referring to is the ‘Speedway Race with Verse Persistence’ sample in the “Feature Examples” section.

I haven’t personally opened that template (Only checked the original 1.0 template before the re-work) but yea I assume it can have usefull resources in regards to the utilization of a timer device, good recommendation
