# Find a tag within an array

**URL:** <https://forums.unrealengine.com/t/find-a-tag-within-an-array/452567>\
**Category:** World Creation\
**Tags:** overlapping, tags, block, unreal-engine, Array, Physics, Collision, question\
**Created:** [July 20, 2019, 10:44pm UTC](https://forums.unrealengine.com/t/find-a-tag-within-an-array/452567 "2019-07-20T22:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghostnova91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ghostnova91](https://forums.unrealengine.com/u/ghostnova91)\
**Post date:** [July 20, 2019, 10:44pm UTC](https://forums.unrealengine.com/t/find-a-tag-within-an-array/452567/1 "2019-07-20T22:44:00Z")

</div>

I cannot for the life of me figure out how to find a tag within an array of overlapped components.

Here’s the baseline.

My NPC has a shield which gives and removes the shield tag to the collision box depending on when he tries to block or not.

My character has a sword with a collision box that has the get overlapping components. I loop it to find the tag. I’ve tried “component has tag” and “contains” to no avail. I believe the issue is that the loop checks each thing that is overlapped and then answers the branch.

So how do I check the array (so all) of the overlapped components for a tag?

---

<div class="post-metadata">

**Author:** ![ghostnova91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ghostnova91](https://forums.unrealengine.com/u/ghostnova91)\
**Post date:** [July 20, 2019, 10:45pm UTC](https://forums.unrealengine.com/t/find-a-tag-within-an-array/452567/2 "2019-07-20T22:45:49Z")

</div>

> **[Block posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4](https://blueprintue.com/blueprint/s_l3u7t1/)**
>
> No description provided

Here’s what it looks like
