# How to make Line Trace ignoring transparent part of a texture?

**URL:** <https://forums.unrealengine.com/t/how-to-make-line-trace-ignoring-transparent-part-of-a-texture/466394>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 8, 2020, 2:04am UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-ignoring-transparent-part-of-a-texture/466394 "2020-06-08T02:04:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anonymous\_user\_882d813f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_882d813f](https://forums.unrealengine.com/u/anonymous_user_882d813f)\
**Post date:** [June 9, 2020, 1:04am UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-ignoring-transparent-part-of-a-texture/466394/5 "2020-06-09T01:04:48Z")

</div>

Here is a solution:

 ![303902-gettingalphavialinetrace.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/a/2da44bc215660973f7931109957cab4a9eea0cf9.png)

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-make-line-trace-ignoring-transparent-part-of-a-texture/466394)._
