# \#array-nodes

**URL:** https://forums.unrealengine.com/tag/array-nodes/128.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Look at the difference when using Array!](https://forums.unrealengine.com/t/look-at-the-difference-when-using-array/2536557)

<div class="topic-metadata">

**Author:** [@LGTS2xxx](https://forums.unrealengine.com/u/LGTS2xxx)\
**Replies:** 6\
**Last updated:** [June 1, 2025, 4:30pm UTC](https://forums.unrealengine.com/t/look-at-the-difference-when-using-array/2536557 "2025-06-01T16:30:20Z")

</div>

Look at the difference when using Array, Below we have a sequential logic without the array, just a sequence of repeated events for different actions! Now see what it looks like after implementing the same logic usin…

---

## [Is there a way to use arrays in a control rig?](https://forums.unrealengine.com/t/is-there-a-way-to-use-arrays-in-a-control-rig/483104)

<div class="topic-metadata">

**Author:** [@cheepySnake](https://forums.unrealengine.com/u/cheepySnake)\
**Replies:** 3\
**Last updated:** [June 7, 2024, 1:12pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-use-arrays-in-a-control-rig/483104 "2024-06-07T13:12:09Z")

</div>

Hi! I’m using the control rig to set bone transforms from an external blueprint. Everything works fine with ordinary variables, but I want to use arrays - it’s much easier that way. Is there some way to get transforms f…

---

## [Array index 0 bug](https://forums.unrealengine.com/t/array-index-0-bug/459771)

<div class="topic-metadata">

**Author:** [@Slimwaffle](https://forums.unrealengine.com/u/Slimwaffle)\
**Replies:** 7\
**Last updated:** [May 15, 2023, 7:11am UTC](https://forums.unrealengine.com/t/array-index-0-bug/459771 "2023-05-15T07:11:18Z")

</div>

Since upgrading to 4.24.1 all blueprint nodes that get an array(eg Get all widgets of class) throw a warning message similar to this; Attempted to access index 0 from array ‘CallFunc\_GetQueryResultsAsLocations\_ResultLoc…

---

## [how to find an item in structure array just by name ??](https://forums.unrealengine.com/t/how-to-find-an-item-in-structure-array-just-by-name/467833)

<div class="topic-metadata">

**Author:** [@HopeVIII](https://forums.unrealengine.com/u/HopeVIII)\
**Replies:** 5\
**Last updated:** [February 14, 2022, 11:23pm UTC](https://forums.unrealengine.com/t/how-to-find-an-item-in-structure-array-just-by-name/467833 "2022-02-14T23:23:13Z")

</div>

I need help, i have an array called inventory its a structure. i want these nodes to set variable called 9mm which is ammo, so i need to check the inventory of player and find 9mm item by find (array) to get an index a…

---

## [How to force an actor array to recognize a class](https://forums.unrealengine.com/t/how-to-force-an-actor-array-to-recognize-a-class/485642)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Replies:** 8\
**Last updated:** [July 2, 2021, 5:15am UTC](https://forums.unrealengine.com/t/how-to-force-an-actor-array-to-recognize-a-class/485642 "2021-07-02T05:15:09Z")

</div>

So, I have a complex question that I’m not sure how to describe. I have a box collision on one “enemy” that is supposed to detect neighboring enemies, which is fine and dandy. But later, said enemies need to perform an i…

---

## [Multi trace and response channel and first index](https://forums.unrealengine.com/t/multi-trace-and-response-channel-and-first-index/485126)

<div class="topic-metadata">

**Author:** [@Game\_dev\_1](https://forums.unrealengine.com/u/Game_dev_1)\
**Replies:** 4\
**Last updated:** [June 20, 2021, 1:43pm UTC](https://forums.unrealengine.com/t/multi-trace-and-response-channel-and-first-index/485126 "2021-06-20T13:43:39Z")

</div>

---

## [Which is faster? Arrays or DataTables](https://forums.unrealengine.com/t/which-is-faster-arrays-or-datatables/484539)

<div class="topic-metadata">

**Author:** [@Gary\_P](https://forums.unrealengine.com/u/Gary_P)\
**Replies:** 4\
**Last updated:** [June 8, 2021, 2:40pm UTC](https://forums.unrealengine.com/t/which-is-faster-arrays-or-datatables/484539 "2021-06-08T14:40:03Z")

</div>

I’m building a game that has ore nodes (as actors) on a map. My AI character needs to have a list of the locations so he can go to them and mine them. Think of a mining droid. Nothing new here. At first, on BeginPlay, …

---

## [Array: spawn an item, delete the item spawned and if no items left, re-enable the array?](https://forums.unrealengine.com/t/array-spawn-an-item-delete-the-item-spawned-and-if-no-items-left-re-enable-the-array/483194)

<div class="topic-metadata">

**Author:** [@Ululele12](https://forums.unrealengine.com/u/Ululele12)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 5:05pm UTC](https://forums.unrealengine.com/t/array-spawn-an-item-delete-the-item-spawned-and-if-no-items-left-re-enable-the-array/483194 "2021-05-12T17:05:08Z")

</div>

Hey, folks! I have a very specific idea regarding the level streaming in my project. I want to have the following function: an array of levels that I want to make visible at random, and I do not want them to reappear un…

---

## [Why can you pass TArrays to Control Rig if there seems to be no way to access the members?](https://forums.unrealengine.com/t/why-can-you-pass-tarrays-to-control-rig-if-there-seems-to-be-no-way-to-access-the-members/479158)

<div class="topic-metadata">

**Author:** [@Goonix\_1](https://forums.unrealengine.com/u/Goonix_1)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 6:24pm UTC](https://forums.unrealengine.com/t/why-can-you-pass-tarrays-to-control-rig-if-there-seems-to-be-no-way-to-access-the-members/479158 "2021-05-05T18:24:19Z")

</div>

I am passing an array of bools to control rig to control foot placement at runtime, however I cannot access the members through any node I can see. I am also not sure I can make my own class of control rig to solve the …

---

## [True and False firing simultaneously](https://forums.unrealengine.com/t/true-and-false-firing-simultaneously/475418)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6a2bd8211](https://forums.unrealengine.com/u/anonymous_user_6a2bd8211)\
**Replies:** 4\
**Last updated:** [December 10, 2020, 5:13am UTC](https://forums.unrealengine.com/t/true-and-false-firing-simultaneously/475418 "2020-12-10T05:13:50Z")

</div>

Hi Everyone, I’m trying to implement different footsteps in a game depending on the area. (For a variety of reasons, using physical materials actually complicates the situation, rather than resolving it.) In my Blueprin…

---

## [Have problems with searching numeric loop](https://forums.unrealengine.com/t/have-problems-with-searching-numeric-loop/473433)

<div class="topic-metadata">

**Author:** [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Replies:** 5\
**Last updated:** [October 24, 2020, 6:46pm UTC](https://forums.unrealengine.com/t/have-problems-with-searching-numeric-loop/473433 "2020-10-24T18:46:19Z")

</div>

Hello. Trying to build a loop which return bool value in dependence of numeric in string. If we have numeric no matter how many - we should return false, if not - all good, we need true. Actually, loop on the picture is…

---

## [Array of collisions will only detect half of my mesh?](https://forums.unrealengine.com/t/array-of-collisions-will-only-detect-half-of-my-mesh/473337)

<div class="topic-metadata">

**Author:** [@AndyHitch](https://forums.unrealengine.com/u/AndyHitch)\
**Replies:** 5\
**Last updated:** [October 23, 2020, 3:06am UTC](https://forums.unrealengine.com/t/array-of-collisions-will-only-detect-half-of-my-mesh/473337 "2020-10-23T03:06:59Z")

</div>

I have a grid of planes and I’m trying to get a static mesh to collide with all of them under it but it will only pick up a certain amount of them. It only picks up about half the collisions no matter how long I make th…

---

## [How can I spawn multiple actors?](https://forums.unrealengine.com/t/how-can-i-spawn-multiple-actors/460314)

<div class="topic-metadata">

**Author:** [@DarkZK](https://forums.unrealengine.com/u/DarkZK)\
**Replies:** 5\
**Last updated:** [January 8, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/how-can-i-spawn-multiple-actors/460314 "2020-01-08T14:19:33Z")

</div>

The node you’re looking for is a “ForLoop”!

---

## [How to check the array sequence?](https://forums.unrealengine.com/t/how-to-check-the-array-sequence/459912)

<div class="topic-metadata">

**Author:** [@JayBouleur](https://forums.unrealengine.com/u/JayBouleur)\
**Replies:** 8\
**Last updated:** [December 31, 2019, 3:26am UTC](https://forums.unrealengine.com/t/how-to-check-the-array-sequence/459912 "2019-12-31T03:26:16Z")

</div>

How would you go about checking if the elements in an integer array is equal is with another array? For instance: Array(A) contains (12345) and Array(B) contains (32451) I’m trying to get the blueprint to print false u…

---

## [Text array Plus Text Array?](https://forums.unrealengine.com/t/text-array-plus-text-array/449383)

<div class="topic-metadata">

**Author:** [@Dark\_Jubei](https://forums.unrealengine.com/u/Dark_Jubei)\
**Replies:** 4\
**Last updated:** [May 22, 2019, 12:55pm UTC](https://forums.unrealengine.com/t/text-array-plus-text-array/449383 "2019-05-22T12:55:04Z")

</div>

Hi All, I’m doing something very simple in unreal. Its a UMG random name generator with two arrays, one full of the first set of words, the other with the second. It works fine with two text boxes but i want to set the…

---

## [How to find specific Actor in Array](https://forums.unrealengine.com/t/how-to-find-specific-actor-in-array/416399)

<div class="topic-metadata">

**Author:** [@DarkloreCreations](https://forums.unrealengine.com/u/DarkloreCreations)\
**Replies:** 3\
**Last updated:** [February 4, 2018, 6:00pm UTC](https://forums.unrealengine.com/t/how-to-find-specific-actor-in-array/416399 "2018-02-04T18:00:52Z")

</div>

Hi I want to create more Merchants but I am Stuck. The problem is that i have One Blueprint for both of them because they are both the same type merchant but they offer different items. I have 2 Merchants in the worl…

---

## [Fill up an array takes to long time](https://forums.unrealengine.com/t/fill-up-an-array-takes-to-long-time/402070)

<div class="topic-metadata">

**Author:** [@Tokodboy](https://forums.unrealengine.com/u/Tokodboy)\
**Replies:** 0\
**Last updated:** [August 17, 2017, 5:52am UTC](https://forums.unrealengine.com/t/fill-up-an-array-takes-to-long-time/402070 "2017-08-17T05:52:59Z")

</div>

Hy :slight\_smile: I have a couple of arrays wich are consists more than 1.00.000 elemnts and when I fill up this array with datas it takes too long time. I use for loop to fill the array, and in the loop body I use the…

---

## [Random item from array](https://forums.unrealengine.com/t/random-item-from-array/386611)

<div class="topic-metadata">

**Author:** [@mblogest](https://forums.unrealengine.com/u/mblogest)\
**Replies:** 3\
**Last updated:** [July 24, 2017, 8:22am UTC](https://forums.unrealengine.com/t/random-item-from-array/386611 "2017-07-24T08:22:14Z")

</div>

hi, i have a array with 9 item,i want to select 3 item of this array with random without repeat,and this is my blueprint,why not working correct.

---

## [How can i make a stack of barrels disappear individually using array in BP class?](https://forums.unrealengine.com/t/how-can-i-make-a-stack-of-barrels-disappear-individually-using-array-in-bp-class/398869)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7ccde3a9](https://forums.unrealengine.com/u/anonymous_user_7ccde3a9)\
**Replies:** 11\
**Last updated:** [June 19, 2017, 6:26am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-stack-of-barrels-disappear-individually-using-array-in-bp-class/398869 "2017-06-19T06:26:01Z")

</div>

my idea is to toggle the visibility of each barrel in the BP class to be more specific… when I press the E key I can make one barrel at a time to disappear. for example: when pressing E barrel01 disappears then I pres…

---

## [Accessed None Error When trying to find actor location from array](https://forums.unrealengine.com/t/accessed-none-error-when-trying-to-find-actor-location-from-array/388066)

<div class="topic-metadata">

**Author:** [@kelindi](https://forums.unrealengine.com/u/kelindi)\
**Replies:** 4\
**Last updated:** [March 16, 2017, 6:01pm UTC](https://forums.unrealengine.com/t/accessed-none-error-when-trying-to-find-actor-location-from-array/388066 "2017-03-16T18:01:08Z")

</div>

So ive been trying to create a respawn system in my multiplayer game where i have an actor class called respawn and place it around the level. I then find the location of all the respawn classes and randomly spawn at one…

---

## [Set members in Struct issues](https://forums.unrealengine.com/t/set-members-in-struct-issues/381235)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_40a407b6](https://forums.unrealengine.com/u/anonymous_user_40a407b6)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 9:43am UTC](https://forums.unrealengine.com/t/set-members-in-struct-issues/381235 "2017-01-08T09:43:52Z")

</div>

I have a struct which contains an array of bool variables. When I try to use “set Members of Struct” node, it does nothing. Is this set up properly? If not, how do I set it up properly?

---

## [How to count the number of actors in a scene, but filter them with a certain criteria?](https://forums.unrealengine.com/t/how-to-count-the-number-of-actors-in-a-scene-but-filter-them-with-a-certain-criteria/369734)

<div class="topic-metadata">

**Author:** [@Andras\_D\_Ormos](https://forums.unrealengine.com/u/Andras_D_Ormos)\
**Replies:** 2\
**Last updated:** [September 8, 2016, 3:26pm UTC](https://forums.unrealengine.com/t/how-to-count-the-number-of-actors-in-a-scene-but-filter-them-with-a-certain-criteria/369734 "2016-09-08T15:26:59Z")

</div>

For example I have 20 enemies on my map and they are all wearing differently colored hats. This color is stored in a variable in each of them. Now let’s say, I wanna count the number of enemies wearing red hats, how woul…

---

## [Array Contains Item plug-in order bug](https://forums.unrealengine.com/t/array-contains-item-plug-in-order-bug/328390)

<div class="topic-metadata">

**Author:** [@Technotium](https://forums.unrealengine.com/u/Technotium)\
**Replies:** 9\
**Last updated:** [August 14, 2015, 2:36pm UTC](https://forums.unrealengine.com/t/array-contains-item-plug-in-order-bug/328390 "2015-08-14T14:36:24Z")

</div>

Array/contains item node allows you to plug in an object reference in first, then an actor class array second, and that works perfectly fine. However, you can’t do it the other way around, and when you restart the editor…

---

## [Array\[\].get nodes breaking other connections on editor re-start](https://forums.unrealengine.com/t/array-get-nodes-breaking-other-connections-on-editor-re-start/321779)

<div class="topic-metadata">

**Author:** [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Replies:** 2\
**Last updated:** [June 24, 2015, 4:02pm UTC](https://forums.unrealengine.com/t/array-get-nodes-breaking-other-connections-on-editor-re-start/321779 "2015-06-24T16:02:26Z")

</div>

I saw a post on hte 4.8 release thread where a guy said he had a ton of get nodes with .self references that got broken every time he restarted his project. I had no problem still I started doing some work today. On res…

---

## [Is there anyway to place ForEach in macors?](https://forums.unrealengine.com/t/is-there-anyway-to-place-foreach-in-macors/322378)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ae774245](https://forums.unrealengine.com/u/anonymous_user_ae774245)\
**Replies:** 0\
**Last updated:** [June 19, 2015, 1:36pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-place-foreach-in-macors/322378 "2015-06-19T13:36:49Z")

</div>

Is there any way to use ForEach node in macro with wildcard array input and not get “The type of Target Array is undetermined” error?

---

## [Possible to create a blueprint node with drop down to select from data?](https://forums.unrealengine.com/t/possible-to-create-a-blueprint-node-with-drop-down-to-select-from-data/318249)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_689e935a](https://forums.unrealengine.com/u/anonymous_user_689e935a)\
**Replies:** 2\
**Last updated:** [May 12, 2015, 11:11am UTC](https://forums.unrealengine.com/t/possible-to-create-a-blueprint-node-with-drop-down-to-select-from-data/318249 "2015-05-12T11:11:53Z")

</div>

I’m thinking a node with drop downs like these: Where the drop downs could be populated with any data, like certain elements of an array of structs and the return pin would simply return the selected element. Would it…

---

## [\[UE4.7 preview 4\] Array Related Nodes Error](https://forums.unrealengine.com/t/ue4-7-preview-4-array-related-nodes-error/304632)

<div class="topic-metadata">

**Author:** [@Kevin0814](https://forums.unrealengine.com/u/Kevin0814)\
**Replies:** 3\
**Last updated:** [March 2, 2015, 5:19am UTC](https://forums.unrealengine.com/t/ue4-7-preview-4-array-related-nodes-error/304632 "2015-03-02T05:19:45Z")

</div>

So, it was working fine in preview 3, and it worked for a little while in preview 4, but all of a sudden, array related nodes inside my macro stopped working. They reported this error: As far as I can tell I have don…

---

## [\[Suggestion\] Alternate method for breaking out of an array loop](https://forums.unrealengine.com/t/suggestion-alternate-method-for-breaking-out-of-an-array-loop/302329)

<div class="topic-metadata">

**Author:** [@RAVaught](https://forums.unrealengine.com/u/RAVaught)\
**Replies:** 0\
**Last updated:** [December 23, 2014, 10:58am UTC](https://forums.unrealengine.com/t/suggestion-alternate-method-for-breaking-out-of-an-array-loop/302329 "2014-12-23T10:58:13Z")

</div>

Currently, the ForEachWithLoop node requires the creation of an external event to break out of the loop. This can be… irritating, not to mention inefficient. I would like to suggest adding a new input pin to the Array n…

---

## [Blueprint Arrays return data when Out-of-Bounds](https://forums.unrealengine.com/t/blueprint-arrays-return-data-when-out-of-bounds/275138)

<div class="topic-metadata">

**Author:** [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Replies:** 6\
**Last updated:** [October 3, 2014, 2:57pm UTC](https://forums.unrealengine.com/t/blueprint-arrays-return-data-when-out-of-bounds/275138 "2014-10-03T14:57:38Z")

</div>

Hello! It’s come to my attention that blueprint arrays can be supplied an index that will take them out of bounds. A warning is thrown as expected, but it also has some nasty behavior where it will still return valid da…

---

## [Array of Blueprints Disconnects](https://forums.unrealengine.com/t/array-of-blueprints-disconnects/289349)

<div class="topic-metadata">

**Author:** [@Shinijami](https://forums.unrealengine.com/u/Shinijami)\
**Replies:** 1\
**Last updated:** [July 26, 2014, 7:58pm UTC](https://forums.unrealengine.com/t/array-of-blueprints-disconnects/289349 "2014-07-26T19:58:48Z")

</div>

I have an array of a custom BP and everytime I relaunch the project the lines related to it are disconnected. I just simply redraw the 3 or 4 lines and recompile and everything works fine but EVERY SINGLE TIME those line…

[Next page](https://forums.unrealengine.com/tag/array-nodes/128.md?match_all_tags=true&page=1&tags%5B%5D=array-nodes)
