# \[Feature request\] Get player name in Verse

**URL:** <https://forums.unrealengine.com/t/feature-request-get-player-name-in-verse/1378109>\
**Category:** Feedback & Requests\
**Tags:** FeatureRequest, unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [November 10, 2023, 12:06pm UTC](https://forums.unrealengine.com/t/feature-request-get-player-name-in-verse/1378109 "2023-11-10T12:06:10Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 27, 2024, 7:35pm UTC](https://forums.unrealengine.com/t/feature-request-get-player-name-in-verse/1378109/7 "2024-05-27T19:35:36Z")

</div>

hi @TCGameStudio ,  
Looks like there is a post/article in  
[The Chicken Test: Verse Code to Check if an Agent is a Fortnite Player or Character](https://dev.epicgames.com/community/learning/tutorials/q4mr/the-chicken-test-verse-code-to-check-if-an-agent-is-a-fortnite-player-or-character)

the source code has been extracted using Screen Grab to MS Paint / Crop the code from the video save as file. Import file into MS Snipping Tool then use the Text Conversion tool.  
Clicking “Copy Text” and post below

```auto
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Characters}
using { /Fortnite.com/Playspaces}
using { /UnrealEngine.com/Temporary/UI}
using { /Fortnite.com/UI}
using { /UnrealEngine.com/Temporary/SpatialMath}

# See https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse for how to create a verse device.

# A Verse-authored creative device that can be placed in a level
check_if_player := class(creative_device):

#creates a reference to the trigger device, variable name is MyTrigger/
Geditable
MyTrigger : trigger_device - trigger_device(}

# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=

MyTrigger.TriggeredEvent.Subscribe(CheckStatus) #we reference the trigger device thru the MyTrigger variable, access its method and subscribe or bind to our fx.

# this ?agent assigns to Agent, then queries to assign to ValidAgent, reassigns to Player and calls GetFortNight character. If true, then we know it is.
CheckStatus(Agent :? agent): void =
if(ValidAgent := Agent?, Player := player[ValidAgent], Player.GetFortCharacter[]):
Print("This is a Fortnite Character.")

else:
Print("This is not a Fortnite Character.")

```

---

_[View the full topic](https://forums.unrealengine.com/t/feature-request-get-player-name-in-verse/1378109)._
