# \#arrays

**URL:** https://forums.unrealengine.com/tag/arrays/1933.md

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

---

## [Attempting to remove several instanced static meshes on box trace, some remain on final hit trace.](https://forums.unrealengine.com/t/attempting-to-remove-several-instanced-static-meshes-on-box-trace-some-remain-on-final-hit-trace/2726085)

<div class="topic-metadata">

**Author:** [@Flyin\_Guy](https://forums.unrealengine.com/u/Flyin_Guy)\
**Replies:** 2\
**Last updated:** [June 3, 2026, 6:03pm UTC](https://forums.unrealengine.com/t/attempting-to-remove-several-instanced-static-meshes-on-box-trace-some-remain-on-final-hit-trace/2726085 "2026-06-03T18:03:36Z")

</div>

I am attempting to make a mining mechanic in unreal engine 4, that is similar to minecraft. I am attempting to remove multiple instances from an instanced static mesh using a box trace to detect the blocks, and apply dam…

---

## [Mining overlapped actors, mechanic works, but I'm getting errors (arrays)](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934)

<div class="topic-metadata">

**Author:** [@Flyin\_Guy](https://forums.unrealengine.com/u/Flyin_Guy)\
**Replies:** 2\
**Last updated:** [June 3, 2026, 8:03am UTC](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934 "2026-06-03T08:03:32Z")

</div>

I’ve been messing with a little project for fun, and my mining on left click mechanic works, but I am getting errors. Here is the blueprint (be gentle, I’m learning still) and the errors

---

## [Calculation not working when pulling from array.](https://forums.unrealengine.com/t/calculation-not-working-when-pulling-from-array/2695289)

<div class="topic-metadata">

**Author:** [@Bushwookie69](https://forums.unrealengine.com/u/Bushwookie69)\
**Replies:** 5\
**Last updated:** [January 27, 2026, 7:56pm UTC](https://forums.unrealengine.com/t/calculation-not-working-when-pulling-from-array/2695289 "2026-01-27T19:56:00Z")

</div>

So in Img 1 this in on my character so when you lose the game it does this to save your best (highest) time. If you don’t have a higher time it wont save that float to the savegame. In Img 2 this is my Widget that ge…

---

## [Primary Asset List](https://forums.unrealengine.com/t/primary-asset-list/2651877)

<div class="topic-metadata">

**Author:** [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Replies:** 3\
**Last updated:** [August 29, 2025, 9:46am UTC](https://forums.unrealengine.com/t/primary-asset-list/2651877 "2025-08-29T09:46:35Z")

</div>

Hi, how can I specify the order of the elements read in each loop? Should I change something in their names or properties? Or is there other way?

---

## [Creating a multiple choice question game with arrays and UMG?](https://forums.unrealengine.com/t/creating-a-multiple-choice-question-game-with-arrays-and-umg/392712)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d6bb4f2e1](https://forums.unrealengine.com/u/anonymous_user_d6bb4f2e1)\
**Replies:** 11\
**Last updated:** [June 22, 2022, 5:45pm UTC](https://forums.unrealengine.com/t/creating-a-multiple-choice-question-game-with-arrays-and-umg/392712 "2022-06-22T17:45:27Z")

</div>

I need to make a multiple choice question game where the player presses the start button and is taken to a level where the question is displayed and below it are four buttons arranged 2x2 with four answers, one on each b…

---

## [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…

---

## [Post Process Material Array Effect Value in BP](https://forums.unrealengine.com/t/post-process-material-array-effect-value-in-bp/462700)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6683a8b7](https://forums.unrealengine.com/u/anonymous_user_6683a8b7)\
**Replies:** 5\
**Last updated:** [January 3, 2025, 3:31pm UTC](https://forums.unrealengine.com/t/post-process-material-array-effect-value-in-bp/462700 "2025-01-03T15:31:35Z")

</div>

Hi, i just cant figure out how to expose the array value for “No effect - Full effect” in the blueprint editor. (for post process materials) I would like to hook this up to a timeline animation. please see images for b…

---

## [Reading from multi-line text box line by line?](https://forums.unrealengine.com/t/reading-from-multi-line-text-box-line-by-line/454101)

<div class="topic-metadata">

**Author:** [@Sum3rian](https://forums.unrealengine.com/u/Sum3rian)\
**Replies:** 4\
**Last updated:** [September 25, 2024, 1:03am UTC](https://forums.unrealengine.com/t/reading-from-multi-line-text-box-line-by-line/454101 "2024-09-25T01:03:08Z")

</div>

Hi everyone! I work for a cybersecurity firm so I decided to just make a little baby applet thing to reduce some of the tedium of the job. One of the things I wanted to do was just have a text box, where I could paste in…

---

## [Inventory system array issues](https://forums.unrealengine.com/t/inventory-system-array-issues/1903512)

<div class="topic-metadata">

**Author:** [@DonJuan1232](https://forums.unrealengine.com/u/DonJuan1232)\
**Replies:** 4\
**Last updated:** [June 15, 2024, 7:08am UTC](https://forums.unrealengine.com/t/inventory-system-array-issues/1903512 "2024-06-15T07:08:34Z")

</div>

Hey, so I am making a inventory system that has 3 slots. each slot can be filled with 1 item. I currently have it setup that when you pickup a item it will check if the current selected slot is empty, if it is it will ad…

---

## [Array Contains always returns false](https://forums.unrealengine.com/t/array-contains-always-returns-false/345471)

<div class="topic-metadata">

**Author:** [@0vr](https://forums.unrealengine.com/u/0vr)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 1:45am UTC](https://forums.unrealengine.com/t/array-contains-always-returns-false/345471 "2024-06-12T01:45:37Z")

</div>

I have an event that checks if there’s space in the array and then Sets Array Element to self. This works fine and I tested and made sure the actor that is self is there. I then put a branch checking if the array contain…

---

## [I can save actors in Array but can't Spawn them.](https://forums.unrealengine.com/t/i-can-save-actors-in-array-but-cant-spawn-them/478066)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 10\
**Last updated:** [May 21, 2024, 4:08pm UTC](https://forums.unrealengine.com/t/i-can-save-actors-in-array-but-cant-spawn-them/478066 "2024-05-21T16:08:57Z")

</div>

I can add my actors to an Array for saving game, I checked it with print strings on both adding and loading. However, what I want to do is check if an actor is in the level, and if not spawn it. I tried with actor refere…

---

## [Is there an easy way to have an array index loop back to zero when it's larger than the array's length?](https://forums.unrealengine.com/t/is-there-an-easy-way-to-have-an-array-index-loop-back-to-zero-when-its-larger-than-the-arrays-length/407624)

<div class="topic-metadata">

**Author:** [@Ecnassianer](https://forums.unrealengine.com/u/Ecnassianer)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 12:51pm UTC](https://forums.unrealengine.com/t/is-there-an-easy-way-to-have-an-array-index-loop-back-to-zero-when-its-larger-than-the-arrays-length/407624 "2024-03-14T12:51:51Z")

</div>

Very often I find myself using this pattern: Every time an event fires, I increment an integer: Then I use that integer to access some element of an array: That’s great, until my integer gets larger than the len…

---

## [Difficulties with SweepMultiByChannel and storing pointers to hit actors.](https://forums.unrealengine.com/t/difficulties-with-sweepmultibychannel-and-storing-pointers-to-hit-actors/1675070)

<div class="topic-metadata">

**Author:** [@TheoRat3](https://forums.unrealengine.com/u/TheoRat3)\
**Replies:** 11\
**Last updated:** [February 9, 2024, 10:43pm UTC](https://forums.unrealengine.com/t/difficulties-with-sweepmultibychannel-and-storing-pointers-to-hit-actors/1675070 "2024-02-09T22:43:52Z")

</div>

I’m working on creating an ability that applies a status effect to enemies in the form of attaching actors of a class I made “WeakPoint” to their meshes. I ran into a wall today when trying to apply this ability to an in…

---

## [question about multi dimensional arrays](https://forums.unrealengine.com/t/question-about-multi-dimensional-arrays/1628876)

<div class="topic-metadata">

**Author:** [@nomotioncam](https://forums.unrealengine.com/u/nomotioncam)\
**Replies:** 0\
**Last updated:** [January 20, 2024, 2:02pm UTC](https://forums.unrealengine.com/t/question-about-multi-dimensional-arrays/1628876 "2024-01-20T14:02:56Z")

</div>

So I’m currently working on a project and I’m wondering if multidimensional arrays can be different values eg , array column 1 could be an int, then 2 could be a string and 3 could be an int how i would usually would so…

---

## [How can I create a reference to an array so that I can alter it (Exa, Remove Index) and have that change the original array?](https://forums.unrealengine.com/t/how-can-i-create-a-reference-to-an-array-so-that-i-can-alter-it-exa-remove-index-and-have-that-change-the-original-array/1279074)

<div class="topic-metadata">

**Author:** [@Christo](https://forums.unrealengine.com/u/Christo)\
**Replies:** 1\
**Last updated:** [August 31, 2023, 8:53pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-reference-to-an-array-so-that-i-can-alter-it-exa-remove-index-and-have-that-change-the-original-array/1279074 "2023-08-31T20:53:39Z")

</div>

My NPC Pawn has an array of Objects. The NPC’s AI Controller needs to use and manipulate this array of Objects, including using Remove Index (which alters the array, not just the array’s referenced objects). I can make t…

---

## [Is there a better way to handle this](https://forums.unrealengine.com/t/is-there-a-better-way-to-handle-this/449749)

<div class="topic-metadata">

**Author:** [@Nick200000](https://forums.unrealengine.com/u/Nick200000)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 2:49pm UTC](https://forums.unrealengine.com/t/is-there-a-better-way-to-handle-this/449749 "2019-05-29T14:49:34Z")

</div>

Is there a better way to handle that situation. I want to apply a Slow Debuff (via Blueprintinterface) where only the strongest Slow actually slows me down. In this Setup I made it so the Duration and Strenght of the Sl…

---

## [I don't find 'for loop' for array](https://forums.unrealengine.com/t/i-dont-find-for-loop-for-array/477970)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_76bc96c6](https://forums.unrealengine.com/u/anonymous_user_76bc96c6)\
**Replies:** 28\
**Last updated:** [July 7, 2023, 1:13pm UTC](https://forums.unrealengine.com/t/i-dont-find-for-loop-for-array/477970 "2023-07-07T13:13:00Z")

</div>

I just have ForEach…Niagara and the shortcut with F doesn’t work.

---

## [My array saving doesn't work](https://forums.unrealengine.com/t/my-array-saving-doesnt-work/681076)

<div class="topic-metadata">

**Author:** [@TDisturbingPanda](https://forums.unrealengine.com/u/TDisturbingPanda)\
**Replies:** 40\
**Last updated:** [November 6, 2022, 10:06am UTC](https://forums.unrealengine.com/t/my-array-saving-doesnt-work/681076 "2022-11-06T10:06:18Z")

</div>

I’ve been struggling with array saves forever now. I’m mainly trying to save the locations and rotations of different actors around my level, cause it’s very interactive with actors switching their locations a lot. I’ve …

---

## [Saving/loading Object Arrays after game quit/restart?](https://forums.unrealengine.com/t/saving-loading-object-arrays-after-game-quit-restart/504131)

<div class="topic-metadata">

**Author:** [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Replies:** 19\
**Last updated:** [March 6, 2022, 3:39pm UTC](https://forums.unrealengine.com/t/saving-loading-object-arrays-after-game-quit-restart/504131 "2022-03-06T15:39:13Z")

</div>

Hi there. I’m working on my project and I’ve made a basic inventory system which is based upon a array of “object” type which contains the item template items. I’ve figured out a way to move inventory items between level…

---

## [I have 2 dynamic arrays, I need to get the index of specific items of the same value and the match their index with items in the second array to get their value, so i can alter the second arrays values](https://forums.unrealengine.com/t/i-have-2-dynamic-arrays-i-need-to-get-the-index-of-specific-items-of-the-same-value-and-the-match-their-index-with-items-in-the-second-array-to-get-their-value-so-i-can-alter-the-second-arrays-values/427880)

<div class="topic-metadata">

**Author:** [@blisters50](https://forums.unrealengine.com/u/blisters50)\
**Replies:** 3\
**Last updated:** [November 26, 2021, 8:58am UTC](https://forums.unrealengine.com/t/i-have-2-dynamic-arrays-i-need-to-get-the-index-of-specific-items-of-the-same-value-and-the-match-their-index-with-items-in-the-second-array-to-get-their-value-so-i-can-alter-the-second-arrays-values/427880 "2021-11-26T08:58:41Z")

</div>

I have 2 dynamic arrays, I need to get the index of specific items of the same value and match their index with items in the second array to get their value, so i can alter the second arrays values. Is there a way to use…

---

## [Character Array/Map Selection](https://forums.unrealengine.com/t/character-array-map-selection/491205)

<div class="topic-metadata">

**Author:** [@WBoden](https://forums.unrealengine.com/u/WBoden)\
**Replies:** 2\
**Last updated:** [November 24, 2021, 10:51pm UTC](https://forums.unrealengine.com/t/character-array-map-selection/491205 "2021-11-24T22:51:45Z")

</div>

Hey there, I’m trying to set up a player character class setup in my JRPG project. I’m at the moment attempting to setup on who spawns and who doesn’t. I figured that connecting it with a Boolean check would help with k…

---

## [Why isn't there a check for Empty Array Index?](https://forums.unrealengine.com/t/why-isnt-there-a-check-for-empty-array-index/348084)

<div class="topic-metadata">

**Author:** [@Arcade](https://forums.unrealengine.com/u/Arcade)\
**Replies:** 8\
**Last updated:** [October 17, 2021, 12:05pm UTC](https://forums.unrealengine.com/t/why-isnt-there-a-check-for-empty-array-index/348084 "2021-10-17T12:05:39Z")

</div>

Hi, I’ve seen a bunch of questions on how to see if a particular Index in an Array is empty, which is just what I want to do as well. What I’ve seen is that there’s no “Is it empty?”-check at all, and you always have to…

---

## [Array that sometimes will return "None"](https://forums.unrealengine.com/t/array-that-sometimes-will-return-none/488886)

<div class="topic-metadata">

**Author:** [@VomitInject](https://forums.unrealengine.com/u/VomitInject)\
**Replies:** 6\
**Last updated:** [September 18, 2021, 4:58pm UTC](https://forums.unrealengine.com/t/array-that-sometimes-will-return-none/488886 "2021-09-18T16:58:28Z")

</div>

Hello, Im super new to blueprints so this had me a bit stumped. I have a dialog system, that sometimes can trigger choises based on your type of character (for example a Mage can have extra awnsers compared to a Warrio…

---

## [Exporting a CSV structure array file](https://forums.unrealengine.com/t/exporting-a-csv-structure-array-file/488683)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_47451bc2](https://forums.unrealengine.com/u/anonymous_user_47451bc2)\
**Replies:** 1\
**Last updated:** [September 12, 2021, 10:25am UTC](https://forums.unrealengine.com/t/exporting-a-csv-structure-array-file/488683 "2021-09-12T10:25:52Z")

</div>

Hello, I’ve figured out how to export a CSV file containing a String array during runtime, but I’m not sure how to make this function work for a structure-based array. If it’s important, my structure contains a transfor…

---

## [Need help with an array/map](https://forums.unrealengine.com/t/need-help-with-an-array-map/487089)

<div class="topic-metadata">

**Author:** [@Wickie](https://forums.unrealengine.com/u/Wickie)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 7:13am UTC](https://forums.unrealengine.com/t/need-help-with-an-array-map/487089 "2021-08-06T07:13:26Z")

</div>

Alright so I have a grid system that works fine and until recently I did not notice it has a fundamental flaw that is not an issue until I have more than 500 rows in the X direction. The issue is in this function below …

---

## [How to manipulate the unselected portions of the array?](https://forums.unrealengine.com/t/how-to-manipulate-the-unselected-portions-of-the-array/486412)

<div class="topic-metadata">

**Author:** [@kpmagicman3](https://forums.unrealengine.com/u/kpmagicman3)\
**Replies:** 4\
**Last updated:** [July 20, 2021, 12:49pm UTC](https://forums.unrealengine.com/t/how-to-manipulate-the-unselected-portions-of-the-array/486412 "2021-07-20T12:49:38Z")

</div>

Hi! I couldn’t seem to find an answer to this anywhere and maybe I’m doing this the wrong way as I’m still new to using arrays in Unreal. I have an array of 12 images in a widget menu. They are all on top of each other …

---

## [Using arrays for RPG Skills and Combos](https://forums.unrealengine.com/t/using-arrays-for-rpg-skills-and-combos/486403)

<div class="topic-metadata">

**Author:** [@ChunkyCat](https://forums.unrealengine.com/u/ChunkyCat)\
**Replies:** 1\
**Last updated:** [July 20, 2021, 7:47am UTC](https://forums.unrealengine.com/t/using-arrays-for-rpg-skills-and-combos/486403 "2021-07-20T07:47:00Z")

</div>

Hello everyone, I am having some confusion and difficulty on solving this array situation. I am basically using arrays to organize a series of skill types that are capable of being combos. So basically the user would be …

---

## [I want to do what "identical" array node does, but not in exact order.](https://forums.unrealengine.com/t/i-want-to-do-what-identical-array-node-does-but-not-in-exact-order/486170)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 3\
**Last updated:** [July 18, 2021, 12:41pm UTC](https://forums.unrealengine.com/t/i-want-to-do-what-identical-array-node-does-but-not-in-exact-order/486170 "2021-07-18T12:41:10Z")

</div>

I have a cooking game. The player adds ingredients to the pot to make a recipe. When enough ingredients are in the pot, a check is made to see if what the player added matches a recipe. Some ingredients may be added more…

---

## [Adding and removing actors from an Array?](https://forums.unrealengine.com/t/adding-and-removing-actors-from-an-array/484587)

<div class="topic-metadata">

**Author:** [@Todeswalzer](https://forums.unrealengine.com/u/Todeswalzer)\
**Replies:** 5\
**Last updated:** [June 9, 2021, 11:27am UTC](https://forums.unrealengine.com/t/adding-and-removing-actors-from-an-array/484587 "2021-06-09T11:27:07Z")

</div>

I’m relatively new to using UE4 and I’m trying to recreate a puzzle game I started making years ago on an old, outdated program. I have, after much trial and error, managed to get most of my core ideas down and sorted, w…

---

## [Large Actor Arrays vs Grouped Smaller ones?](https://forums.unrealengine.com/t/large-actor-arrays-vs-grouped-smaller-ones/484026)

<div class="topic-metadata">

**Author:** [@Abstracted](https://forums.unrealengine.com/u/Abstracted)\
**Replies:** 0\
**Last updated:** [May 28, 2021, 1:53am UTC](https://forums.unrealengine.com/t/large-actor-arrays-vs-grouped-smaller-ones/484026 "2021-05-28T01:53:41Z")

</div>

I’m working on my AI at the moment. I’ve got a Squad actor that spawns an array of AI characters on play, and then those AI store their On Target Perception Updated in an Array on the Squad Actor (originally had AI stor…

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