# Support for List in Command and Sync variables?

**URL:** <https://community.coherence.io/t/support-for-list-in-command-and-sync-variables/530>\
**Category:** Help\
**Created:** [May 23, 2024, 8:14pm UTC](https://community.coherence.io/t/support-for-list-in-command-and-sync-variables/530 "2024-05-23T20:14:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeskylight](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@joeskylight](https://community.coherence.io/u/joeskylight)\
**Post date:** [May 23, 2024, 8:14pm UTC](https://community.coherence.io/t/support-for-list-in-command-and-sync-variables/530/1 "2024-05-23T20:14:30Z")

</div>

Is there a way to use a List or Array of primitives (for instance List or an Array like int ) in a **Command** parameter or as a **Sync** variable?

I do not see any mention of it in the [supported types] ([Supported types | SDK 1.2 | Unity Multiplayer SDK Documentation | coherence](https://docs.coherence.io/coherence-sdk-for-unity/networking-state-changes/supported-types)) but thought I would ask. It would be really useful.

Thanks!

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [May 23, 2024, 10:11pm UTC](https://community.coherence.io/t/support-for-list-in-command-and-sync-variables/530/2 "2024-05-23T22:11:52Z")

</div>

This is something we’re actively discussing the implementation for, but I don’t have a timeline on it yet. Right now our recommended (albiet cumbersome) approach is to serialize the list info into a byte array to send. We realize an SDK level abstraction above this would help a lot.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/b3aa79eb9519fac7aad7eba18f15a1e8ce60f6e2.png) [@system](https://community.coherence.io/u/system)\
**Post date:** [August 21, 2024, 10:12pm UTC](https://community.coherence.io/t/support-for-list-in-command-and-sync-variables/530/3 "2024-08-21T22:12:20Z")

</div>

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