# Array values not showing up

**URL:** <https://forums.unrealengine.com/t/array-values-not-showing-up/2232372>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 19, 2024, 5:13pm UTC](https://forums.unrealengine.com/t/array-values-not-showing-up/2232372 "2024-12-19T17:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_iva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_iva](https://forums.unrealengine.com/u/_iva)\
**Post date:** [December 19, 2024, 5:13pm UTC](https://forums.unrealengine.com/t/array-values-not-showing-up/2232372/1 "2024-12-19T17:13:11Z")

</div>

Hello, so i am currently trying to do a key system, where each key has a unique id and the car (which needs to be unlocked) has the same id. Everything works fine, but when I ask for the values inside my array it says that its empty (via Print String)? I am working with blueprint interfaces and as I said the communication works fine, the only thing that doenst work is the array. Basically I need to get the array values from the first picture to the second picture. As I am quite new to arrays and stuff I probably forgot something to add (see pictures). Thanks for you help! 🙂

 ![InventoryComponent](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/2/c42874bf58a2784729935a6f90e1ccd3c8dc843a.png)  
 ![Vehicle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/e/d6ef032f63033ff23c4f8f15e39a2dedb8646846.png)

---

<div class="post-metadata">

**Author:** ![Mr\_Survival](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr_survival/32/990615_2.png) [@Mr\_Survival](https://forums.unrealengine.com/u/Mr_Survival)\
**Post date:** [December 19, 2024, 5:19pm UTC](https://forums.unrealengine.com/t/array-values-not-showing-up/2232372/2 "2024-12-19T17:19:05Z")

</div>

Int arrays are on the stack and are not passed via interfaces but duplicated, so you are probably not changing the original but a duplicate. You must activate Pass by reference in the interface to edit the original.

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/a/06a444f73f50480e306cb5a6e0b020d5068f8a63.png)
