# 'On component hit' only calls for parent component in unreal engine 5

**URL:** <https://forums.unrealengine.com/t/on-component-hit-only-calls-for-parent-component-in-unreal-engine-5/518492>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint, question\
**Created:** [April 7, 2022, 2:04pm UTC](https://forums.unrealengine.com/t/on-component-hit-only-calls-for-parent-component-in-unreal-engine-5/518492 "2022-04-07T14:04:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jschichko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jschichko](https://forums.unrealengine.com/u/jschichko)\
**Post date:** [August 1, 2023, 12:43am UTC](https://forums.unrealengine.com/t/on-component-hit-only-calls-for-parent-component-in-unreal-engine-5/518492/2 "2023-08-01T00:43:16Z")

</div>

Hi, did you ever figure out the soliton for this? I am getting a similar issue here

> [@OnComponentHit not getting called again after DetatchFromActor](https://forums.unrealengine.com/t/oncomponenthit-not-getting-called-again-after-detatchfromactor/1226274):
>
> Hi everyone! I have a Pawn, called Pawn in this case, and I am attaching devices that I am calling gadgets to the Pawn. You can move around with the Pawn and do certain gadget actions. The Gadget Actors are more complex than a normal component would allow so I am using the AttachToActor function below to attach them to the Pawn with a weld. GadgetActor-\>AttachToActor (Pawn, FAttachmentTransformRules(EAttachmentRule::KeepRelative, true)); The above code works fine and I am able to activate m…

---

_[View the full topic](https://forums.unrealengine.com/t/on-component-hit-only-calls-for-parent-component-in-unreal-engine-5/518492)._
