# Subscribe to listenable from array

**URL:** <https://forums.unrealengine.com/t/subscribe-to-listenable-from-array/1777731>\
**Category:** Verse\
**Tags:** unreal-engine, question\
**Created:** [March 29, 2024, 3:50pm UTC](https://forums.unrealengine.com/t/subscribe-to-listenable-from-array/1777731 "2024-03-29T15:50:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKM\_jung](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SKM\_jung](https://forums.unrealengine.com/u/SKM_jung)\
**Post date:** [March 29, 2024, 3:50pm UTC](https://forums.unrealengine.com/t/subscribe-to-listenable-from-array/1777731/1 "2024-03-29T15:50:13Z")

</div>

How can I do this with using an array for the player spawners, as I get error when the editable is an array.

```auto
Game_Manager := class(creative_device):
    
    @editable
    PlayerSpawner: player_spawner_device = player_spawner_device{}

    

    OnBegin<override>()<suspends>:void=
       
        PlayerSpawner.SpawnedEvent.Subscribe(OnPlayerAdded)
      

```

---

<div class="post-metadata">

**Author:** ![SKM\_jung](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SKM\_jung](https://forums.unrealengine.com/u/SKM_jung)\
**Post date:** [March 29, 2024, 3:52pm UTC](https://forums.unrealengine.com/t/subscribe-to-listenable-from-array/1777731/2 "2024-03-29T15:52:20Z")

</div>

When changed it gives this error message

Unknown member `SpawnedEvent` in `[]player_spawner_device`.
