# OnComponentHit Event no detecting Actor Has Tag

**URL:** <https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [January 21, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862 "2016-01-21T21:04:57Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 21, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/1 "2016-01-21T21:04:57Z")

</div>

Here is the blueprint

I just want that the component: HeadKill detect the actors that has the tag: BalaGranada. But it doens´t detect none of them:

 ![75440-component+hit+no+tags.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/0/4d0f37c0013e41183bc863b27c7f0972b5ec7e5f.png)

I set the tags inside the actors class defaults. Any clues? Thanks!!

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [January 21, 2016, 10:05pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/2 "2016-01-21T22:05:28Z")

</div>

in your blueprint, add the the tag to your root component and see if it’s detected there. tags can exist in a couple different locations and so needed to be searched for in different ways. so for example, if this is a character. select the character root, and in the details panel, scroll all the way to the bottom, and place the tag name there in the ‘actor’ category.

since you’re using component hit, if you placed your tag in the component, then use the ‘hit component’ pin and drag out the ‘component has tag’ function check.

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 21, 2016, 10:15pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/3 "2016-01-21T22:15:55Z")

</div>

Hi Paradoc

Still not working, but thank you very much!

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [January 21, 2016, 10:54pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/4 "2016-01-21T22:54:26Z")

</div>

just realized I confused something. so that second part wouldn’t have worked. can you post a screenshot of where you put the tag entry in the BalaGranada actor?

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 21, 2016, 10:58pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/5 "2016-01-21T22:58:29Z")

</div>

Hi

I put everywhere in the actor that I want, in class default and in every component. It is a projectile actor that has the tag name: BalaGranada

thanks

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [January 21, 2016, 11:01pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/6 "2016-01-21T23:01:51Z")

</div>

in your 'OnComponentHit(HeadKill), pull out the pin ‘OtherComp’ and select ‘ComponentHasTag’ and use that instead.

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 21, 2016, 11:34pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/7 "2016-01-21T23:34:40Z")

</div>

Hi

Yes, I did it, but didn´t work too =/

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [January 21, 2016, 11:41pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/8 "2016-01-21T23:41:38Z")

</div>

ok, have you verified that the two actors register hits with each other? for example, oncomponenthit, just print the display name of the otherComp

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 22, 2016, 12:44am UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/9 "2016-01-22T00:44:06Z")

</div>

I put the print string and nothing happens.

I imagined that, the “Actor Has Tag” is having no effect on the oncomponenthit event. I can´t “find” the actors with that tag. But it is strange, because the actors do have the tag inside them…

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [January 22, 2016, 12:52am UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/10 "2016-01-22T00:52:55Z")

</div>

if there is no collision detected, it won’t be able to get to that next step. what type of collision does your projectile have? i’ll take a few minutes to look at the project if you want to share it.

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 22, 2016, 1:16am UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/11 "2016-01-22T01:16:26Z")

</div>

both are set to block, I also tried the event: oncomponentbeginoverlap and nothing happens too.

It is something wrong about the tags.

I will find it, hehe

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [January 22, 2016, 1:18am UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/12 "2016-01-22T01:18:48Z")

</div>

Seems to be a bug, indeed:

> **[Component tags Not working](https://forums.unrealengine.com/questions/325647/component-tags-not-working.html)**
>
> I am updating my ledge climbing system to work with UE4.9, and I found out that when I add a Component tag to a Cube static mesh on the level, that I can not get detect that tag inside blueprint. I also notice that on Cubes that had tags before...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [January 22, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/oncomponenthit-event-no-detecting-actor-has-tag/344862/13 "2016-01-22T15:15:02Z")

</div>

Hi everyone,

This is a known issue as FilipeTessaro has pointed out and is in our system as UE-22797. I am going to mark this as answered for tracking purposes.
