# Line trace not hitting mesh component

**URL:** <https://forums.unrealengine.com/t/line-trace-not-hitting-mesh-component/732316>\
**Category:** Blueprint\
**Tags:** linetrace, interaction, unreal-engine, question, Blueprint\
**Created:** [December 20, 2022, 7:41am UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-mesh-component/732316 "2022-12-20T07:41:02Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Zapking9224](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zapking9224/32/1060813_2.png) [@Zapking9224](https://forums.unrealengine.com/u/Zapking9224)\
**Post date:** [January 12, 2023, 12:00pm UTC](https://forums.unrealengine.com/t/line-trace-not-hitting-mesh-component/732316/7 "2023-01-12T12:00:24Z")

</div>

@Xayvair Yeah I actually just figured it out a few days ago. It’s a whole interface system that I called “BPI\_Interactable” that just checks a bunch of things like if the object has been picked up/used before or if there needs to be a condition to be met before interacting with it like the power must be turned on before pressing a button. But I think the most important thing that I did to get it to work and correctly identify and check what it is hitting is getting the object name. Finally, in the details panel of the static mesh, I set the collision preset to “Default”.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/c/11c74eac2168341a74002506fbd767827fb25cde.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/5/205b4bbf9f1446177387b36c4ad239cdbebaa395.png)

---

_[View the full topic](https://forums.unrealengine.com/t/line-trace-not-hitting-mesh-component/732316)._
