# Is there a way to randomize an outcome thru verse?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-randomize-an-outcome-thru-verse/1342241>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, question, fortnite\
**Created:** [October 23, 2023, 8:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-randomize-an-outcome-thru-verse/1342241 "2023-10-23T20:56:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LyssaSugarNya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lyssasugarnya/32/722321_2.png) [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Post date:** [October 23, 2023, 8:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-randomize-an-outcome-thru-verse/1342241/1 "2023-10-23T20:56:26Z")

</div>

Hello, Is there a way to randomize and action through verse? example, let’s say when a player presses an button… player gets a random weapon granted. So, the verse code device which item granter should grant the player a weapon randomly. Is that possible?

---

<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:** [October 23, 2023, 9:11pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-randomize-an-outcome-thru-verse/1342241/2 "2023-10-23T21:11:29Z")

</div>

Hi Lyssa,

It looks like there is some randomization built-in to the [item\_granter\_device](https://dev.epicgames.com/documentation/en-us/uefn/verse-api/fortnitedotcom/devices/item_granter_device) with `CycleToRandomItem`

For other things you might want to get the [Random Module](https://dev.epicgames.com/documentation/en-us/uefn/verse-api/versedotorg/random) involved.
