# Set array element in Struct in Struct: SOLUTION

**URL:** <https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593>\
**Category:** Community & Industry Discussion\
**Tags:** Struct, Structure, change, unreal-engine, question\
**Created:** [February 1, 2017, 8:52am UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593 "2017-02-01T08:52:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taratus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taratus](https://forums.unrealengine.com/u/Taratus)\
**Post date:** [February 1, 2017, 8:52am UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593/1 "2017-02-01T08:52:37Z")

</div>

It took some time to figure out a way to change a variable that’s in a Struct array and this is again in a Struct array. For those who also have this problem I post my solution. I’m looking forward to see maybe better ones because mine is very complicated. 🙂

 ![124453-clipboard-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/d/79d9a18bbebe83094f943feaf3a00e3922e6f145.jpeg)

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [October 24, 2017, 7:02am UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593/2 "2017-10-24T07:02:48Z")

</div>

May be better set members in struct [Set Members in Struct: SOLUTION! - Blueprint - Unreal Engine Forums](https://answers.unrealengine.com/questions/150158/bug-report-set-members-in-struct-solution.html)

---

<div class="post-metadata">

**Author:** ![ibrahimaysan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ibrahimaysan](https://forums.unrealengine.com/u/ibrahimaysan)\
**Post date:** [May 22, 2024, 1:51pm UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593/3 "2024-05-22T13:51:41Z")

</div>

![Ekran görüntüsü 2024-05-22 164814](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/a/f9aea8f5c22195ff82bfc3af788b9219a91a6434.png)  
 ![test](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/1/1c1872cd4a55b0b3883e170b5fc33a45f8a45561.png)

I was banging my head to sort this out. I’m trying to create advanced mission manager so found the solution in the end. I tested and it works this way and you might find it useful since it is much cleaner setup. Also for other people like me having problem with Nested Struct arrays and for each loops.

---

<div class="post-metadata">

**Author:** ![Simmoteph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Simmoteph](https://forums.unrealengine.com/u/Simmoteph)\
**Post date:** [March 25, 2025, 5:49pm UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593/4 "2025-03-25T17:49:28Z")

</div>

My issue was having 2 references to a break. Ran into a classic Pure function problem.  
Hope that’s relevant to someone in the future.
