# Loop over devices by devicename

**URL:** <https://forums.unrealengine.com/t/loop-over-devices-by-devicename/2105083>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [November 4, 2024, 10:17pm UTC](https://forums.unrealengine.com/t/loop-over-devices-by-devicename/2105083 "2024-11-04T22:17:02Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![onycro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/onycro/32/997333_2.png) [@onycro](https://forums.unrealengine.com/u/onycro)\
**Post date:** [November 8, 2024, 10:35am UTC](https://forums.unrealengine.com/t/loop-over-devices-by-devicename/2105083/16 "2024-11-08T10:35:01Z")

</div>

I think custom classes would be an option If It was somehow possible to assign a class to a device from within verse. Because then I would just assign a class to each coin and increase the players class by one, if the player is collecting a coin. This way automatically all coins are unvisible except of the one that is matching the class of the player.

Do you know how to read/write to “Allowed Class” of VFX Powerup device or Collectible device from with verse code?

I have created this 🔗 [Feature request: Verse access to more device attributes](https://forums.unrealengine.com/t/feature-request-verse-access-to-more-device-attributes/2111155)

---

_[View the full topic](https://forums.unrealengine.com/t/loop-over-devices-by-devicename/2105083)._
