# Line trace hit event on surface that isnt block all? (water)

**URL:** <https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839>\
**Category:** World Creation\
**Tags:** unreal-engine, hit-event, question\
**Created:** [February 15, 2021, 11:18pm UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839 "2021-02-15T23:18:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flame](https://forums.unrealengine.com/u/Flame)\
**Post date:** [February 15, 2021, 11:18pm UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839/1 "2021-02-15T23:18:08Z")

</div>

i am trying to do a line trace onto a water plane so i can play the sounds of the character moving across the water , but i don’t want it to block the player movement. i tried overlap all but it stopped working, only way for it to work is when i set it up to be Block all(so this means the player needs to be walking on top of water. how can i fix this?  
looking forward to your suggestions!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 16, 2021, 6:52am UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839/2 "2021-02-16T06:52:51Z")

</div>

Add a custom collision channel:

 ![329936-ignorewatah.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/5/535a334725d1163e3d935587f63e19d6ad0b0f44.jpeg)

- set to `Ignore` by default

Ensure the water `Blocks` traces and can `Overlap` players:

 ![329938-watahcollision.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/1/ed1c785de08a82385fb7e124ef38ac852285db12.jpeg)

When tracing, do so against this new `Water` channel:

 ![329939-watertrace.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/9/059c32ba15cc3d8682b54cd5ae16c0d6eb315ee0.jpeg)

Below:

- white plane: water
- blue: water overlapping player
- purple: trace from above hitting water

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/c/c2cb42b5d1e82c894374619c8fcf7e6096ca78ee.gif)](https://gyazo.com/7a961b361f5229c5b5b79544e95be5ba)

* * *

More about collision filtering:

> **[Collision Filtering in Unreal Engine 4](https://www.unrealengine.com/en-US/blog/collision-filtering)**
>
> Choosing what collides is obviously very important, but it can be tricky, and it’s a problem that we have spent quite a while discussing while developing UE4. The system we have can seem a little complex at first, but it is very powerful and...

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 16, 2021, 6:55am UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839/3 "2021-02-16T06:55:48Z")

</div>

In addition, you can also alter how the player capsule interacts with water; here, it’s left on default settings.

---

<div class="post-metadata">

**Author:** ![Flame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flame](https://forums.unrealengine.com/u/Flame)\
**Post date:** [February 16, 2021, 4:40pm UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839/4 "2021-02-16T16:40:05Z")

</div>

thank you!

---

<div class="post-metadata">

**Author:** ![mengineZZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mengineZZ](https://forums.unrealengine.com/u/mengineZZ)\
**Post date:** [August 19, 2025, 1:34am UTC](https://forums.unrealengine.com/t/line-trace-hit-event-on-surface-that-isnt-block-all-water/478839/5 "2025-08-19T01:34:30Z")

</div>

This is perfect, thank you!
