# Can you store a struct in a blackboard? And what about arrays in blackboard? Is this possible?

**URL:** <https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 13, 2015, 12:40am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808 "2015-02-13T00:40:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![brentJmcewan\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brentJmcewan\_1](https://forums.unrealengine.com/u/brentJmcewan_1)\
**Post date:** [February 13, 2015, 12:40am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/1 "2015-02-13T00:40:57Z")

</div>

Hi,

I want to store an array of structs in my AI Blackboard but I cant seem to do this. There is however a class option - is the way to do it to store all my information in a new class? Or is it possible to get support for structs and arrays in the blackboard?

Basically, I want my enemy characters to be able to store information about other enemy characters around them, I was hoping to use a struct for the data, then an array of structs where each element is for the specific enemy.

I could make a class but I was just wondering if this is available to do in blueprints in any way?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![brentJmcewan\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brentJmcewan\_1](https://forums.unrealengine.com/u/brentJmcewan_1)\
**Post date:** [February 13, 2015, 12:47am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/2 "2015-02-13T00:47:52Z")

</div>

I just found the question posted on arrays in the blackboard - I hope this support comes soon! It would be extremely useful!  
In the meantime I will have to find a way to do it with custom classes I think…

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [February 13, 2015, 10:55am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/3 "2015-02-13T10:55:28Z")

</div>

We are going to support arrays in 4.8. User-created structs not so much - it’s very tricky and we’re blocked by some BP details. We’ll add it as soon as possible.

And as a fallback you can always create a custom BP class storing your stuff and have that stored in Blackboard. That’s supported from the very beginnings of our Blackboard implementation.

Cheers,

–mieszko

---

<div class="post-metadata">

**Author:** ![MJBrune](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MJBrune](https://forums.unrealengine.com/u/MJBrune)\
**Post date:** [August 17, 2019, 11:49pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/4 "2019-08-17T23:49:14Z")

</div>

Hey MiezkoZ,

I wanted to follow up on the support for arrays in blackboards. Did that get pushed off or is that under an option that I am not finding?

Thanks,  
Michael Brune

---

<div class="post-metadata">

**Author:** ![crossmr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@crossmr](https://forums.unrealengine.com/u/crossmr)\
**Post date:** [November 10, 2019, 5:51am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/5 "2019-11-10T05:51:13Z")

</div>

2015

> We’ll add it as soon as possible.

It’s now 2019 and still don’t see structs in there.

---

<div class="post-metadata">

**Author:** ![tobowers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tobowers](https://forums.unrealengine.com/u/tobowers)\
**Post date:** [May 20, 2022, 9:41am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/6 "2022-05-20T09:41:22Z")

</div>

2022 🙂

---

<div class="post-metadata">

**Author:** ![vignitres](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vignitres/32/749490_2.png) [@vignitres](https://forums.unrealengine.com/u/vignitres)\
**Post date:** [January 18, 2023, 9:32pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/7 "2023-01-18T21:32:22Z")

</div>

2023 🙂

---

<div class="post-metadata">

**Author:** ![Ebrahim.MR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ebrahim.mr/32/1220185_2.png) [@Ebrahim.MR](https://forums.unrealengine.com/u/Ebrahim.MR)\
**Post date:** [May 18, 2023, 3:46pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/8 "2023-05-18T15:46:53Z")

</div>

😂 Cool

---

<div class="post-metadata">

**Author:** ![illYay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illYay](https://forums.unrealengine.com/u/illYay)\
**Post date:** [May 18, 2023, 4:02pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/9 "2023-05-18T16:02:20Z")

</div>

This is why I’m excited for State trees. Blackboard was always so confusing.

---

<div class="post-metadata">

**Author:** ![TENTAKL1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TENTAKL1](https://forums.unrealengine.com/u/TENTAKL1)\
**Post date:** [March 17, 2024, 9:44pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/10 "2024-03-17T21:44:05Z")

</div>

2024 🙂

---

<div class="post-metadata">

**Author:** ![Nikolya\_228](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nikolya\_228](https://forums.unrealengine.com/u/Nikolya_228)\
**Post date:** [April 17, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/11 "2025-04-17T13:12:28Z")

</div>

2025 🙂

---

<div class="post-metadata">

**Author:** ![IskatuMesk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IskatuMesk](https://forums.unrealengine.com/u/IskatuMesk)\
**Post date:** [July 1, 2025, 11:17am UTC](https://forums.unrealengine.com/t/can-you-store-a-struct-in-a-blackboard-and-what-about-arrays-in-blackboard-is-this-possible/306808/12 "2025-07-01T11:17:22Z")

</div>

😂 Cool
