How to avoid adding Trash_Components to array?

If you have haven’t got this yet, you can simply fix this by setting the array to nothing with a make array, remove the default pin in that, and it will work, the only problem every time you move it it will update. You can stop this several ways, the easiest is to put a branch and have an exposed var that says allow it to make new static mesh components or don’t.

However, you could do a check to see if your static array mesh == your desired amount of static meshes. If it doesn’t, add to the end of the array until it does with a forEach loop starting at the length of your current array plus one, and if you have to take away, use a while loop until the number of instances in your static mesh array is no longer greater than your desired amount.

Let me know if you get it and if you need blueprints on it I can assist. Actually, I made a video doing some very similar work but haven’t post it yet. I’ll send the link when I do.