# Trying to remove overlapped items from array

**URL:** <https://forums.unrealengine.com/t/trying-to-remove-overlapped-items-from-array/2160432>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [December 1, 2024, 12:13am UTC](https://forums.unrealengine.com/t/trying-to-remove-overlapped-items-from-array/2160432 "2024-12-01T00:13:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NebulaCricket42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NebulaCricket42](https://forums.unrealengine.com/u/NebulaCricket42)\
**Post date:** [December 1, 2024, 12:13am UTC](https://forums.unrealengine.com/t/trying-to-remove-overlapped-items-from-array/2160432/1 "2024-12-01T00:13:32Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/e/e0e2fb8f1e35029671d3d83b7b9ccc845caca685.png)

Im trying to remove Overlapped Exits from Pool of Exits, it seems like everything else functions, but I never once see the “REMOVED” string.  
Im wondering if when I am grabbing the components the ‘primitive componenet’ is not aligning to the original component I got?

---

<div class="post-metadata">

**Author:** ![Nightwolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightwolf/32/917179_2.png) [@Nightwolf](https://forums.unrealengine.com/u/Nightwolf)\
**Post date:** [December 1, 2024, 1:30am UTC](https://forums.unrealengine.com/t/trying-to-remove-overlapped-items-from-array/2160432/2 "2024-12-01T01:30:58Z")

</div>

Add a breakpoint at the remove node, is the item being removed the same as the one in the pool of exits?

if there not exactly the same it will return false

It would appear your trying to make a dungeon generator [This](https://www.youtube.com/watch?v=4ddbnQIuwAM&ab_channel=REEAnimation) may help

The code you have there looks reasonable, find and remove index may work better than just remove if for whatever reason they are not exact matches
