# How to check if player is under water?

**URL:** <https://forums.unrealengine.com/t/how-to-check-if-player-is-under-water/95817>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [July 5, 2017, 8:24pm UTC](https://forums.unrealengine.com/t/how-to-check-if-player-is-under-water/95817 "2017-07-05T20:24:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e1739508](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e1739508](https://forums.unrealengine.com/u/anonymous_user_e1739508)\
**Post date:** [July 5, 2017, 8:24pm UTC](https://forums.unrealengine.com/t/how-to-check-if-player-is-under-water/95817/1 "2017-07-05T20:24:25Z")

</div>

Found this photo in the answer hub that was asked back last year.

 ![37720-checkifunderwater.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/8/208de5d2c8e30350b8089979b762a1ee765ff8bd.png)

It seems in the function I would need to check if the player is underwater, so they could start losing breath. My question is how would I go about making this function to check if the player is under water?

Also, what is that SWIMMING node? can’t figure out exactly what node that is.

---

<div class="post-metadata">

**Author:** ![duffte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duffte](https://forums.unrealengine.com/u/duffte)\
**Post date:** [July 6, 2017, 6:23am UTC](https://forums.unrealengine.com/t/how-to-check-if-player-is-under-water/95817/2 "2017-07-06T06:23:58Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Swimming node is “==” (equals), to set the new mode.  
u can use “select” or something as well.
