# How to check player's class/team?

**URL:** <https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [December 16, 2023, 10:10pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296 "2023-12-16T22:10:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBVes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GBVes](https://forums.unrealengine.com/u/GBVes)\
**Post date:** [December 16, 2023, 10:10pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296/1 "2023-12-16T22:10:17Z")

</div>

I basically want to make a code that only affects a selected class/team.

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [December 17, 2023, 3:01pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296/2 "2023-12-17T15:01:09Z")

</div>

You can assign tags to a player or create a component called Team, then you can set that component on the character, as well as get the component during runtime if necessary.

---

<div class="post-metadata">

**Author:** ![GBVes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GBVes](https://forums.unrealengine.com/u/GBVes)\
**Post date:** [December 17, 2023, 5:39pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296/3 "2023-12-17T17:39:30Z")

</div>

im really bad with verse, can you show an example?

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [December 17, 2023, 5:44pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296/4 "2023-12-17T17:44:38Z")

</div>

I’m sorry, I completely missed that this was Verse and Fortnite. I thought this was an Unreal Engine 5 project.

I found this which might be helpful: [https://www.youtube.com/watch?v=Zdc6ZXhQNTk](https://www.youtube.com/watch?v=Zdc6ZXhQNTk). Otherwise I don’t know.

---

<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:** [January 16, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/how-to-check-players-class-team/1531296/5 "2024-01-16T17:44:45Z")

</div>

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