# What is the Issue in my code?

**URL:** <https://forums.unrealengine.com/t/what-is-the-issue-in-my-code/1602661>\
**Category:** Verse\
**Tags:** unreal-engine, question\
**Created:** [January 9, 2024, 8:56pm UTC](https://forums.unrealengine.com/t/what-is-the-issue-in-my-code/1602661 "2024-01-09T20:56:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TwoodyG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TwoodyG](https://forums.unrealengine.com/u/TwoodyG)\
**Post date:** [January 9, 2024, 8:56pm UTC](https://forums.unrealengine.com/t/what-is-the-issue-in-my-code/1602661/1 "2024-01-09T20:56:32Z")

</div>

so i tried to randomize the Classes at the start of a round, i got a code first choosing 1-16 randomly and then each number has its own class, and i want that if the number is picked a ClassSelectorDevice will get Triggered to switch the class  
 ![helpeee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/c/6ac6654446d563d5c584e6bda8a52d5f29d33dbb.png)  
but idk whats the issue here?
