# How can I show the playername in HUD?

**URL:** <https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441>\
**Category:** Verse\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, question, fortnite\
**Created:** [October 12, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441 "2023-10-12T14:47:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Messiah4213](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messiah4213/32/764721_2.png) [@Messiah4213](https://forums.unrealengine.com/u/Messiah4213)\
**Post date:** [October 12, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441/1 "2023-10-12T14:47:31Z")

</div>

Hello  
I just want to make the ranking of score in HUD like the image below?  
But I don’t know how to show the playername in hud\_device…  
if somebody knows please teach me!

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

---

<div class="post-metadata">

**Author:** ![SeedohFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seedohfn/32/720959_2.png) [@SeedohFN](https://forums.unrealengine.com/u/SeedohFN)\
**Post date:** [October 12, 2023, 4:53pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441/2 "2023-10-12T16:53:38Z")

</div>

Write {playername} to show the local player.  
Write {instigatorname} to show the player that interacted with the device.  
Here is an example: “Watch out {playername}, the super power was obtained by {instigatorname}.”  
In this case, Each player will see their name in {playername} but {instigatorname} will always show the player that obtained the super powers (in other words the player that interacted with the device)

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 12, 2023, 6:12pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441/3 "2023-10-12T18:12:31Z")

</div>

Since v26.20, we can now retrieve a player’s name in Verse, it’s not ideal but you can find more info here :

> [@Leaderboard with Billboard](https://forums.unrealengine.com/t/leaderboard-with-billboard/1310307/11):
>
> You actually can do this now - you can create a message with a player name like this: PlayerName\<localizes\>(Agent:agent):message = "{Agent}" And then show it on a billboard with SetText

It should also fit better OP needs since he needs to display multiple names at once!

---

<div class="post-metadata">

**Author:** ![SeedohFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seedohfn/32/720959_2.png) [@SeedohFN](https://forums.unrealengine.com/u/SeedohFN)\
**Post date:** [October 12, 2023, 6:30pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441/4 "2023-10-12T18:30:53Z")

</div>

I never knew that! Thanks for that information.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 11, 2023, 6:31pm UTC](https://forums.unrealengine.com/t/how-can-i-show-the-playername-in-hud/1330441/5 "2023-11-11T18:31:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
