# Sonar Pulse help

**URL:** <https://forums.unrealengine.com/t/sonar-pulse-help/419844>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, UE4, Blueprint, question\
**Created:** [March 14, 2018, 11:37pm UTC](https://forums.unrealengine.com/t/sonar-pulse-help/419844 "2018-03-14T23:37:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoochWookie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoochWookie](https://forums.unrealengine.com/u/GoochWookie)\
**Post date:** [March 14, 2018, 11:37pm UTC](https://forums.unrealengine.com/t/sonar-pulse-help/419844/1 "2018-03-14T23:37:56Z")

</div>

I am trying to make a sonar material, I have managed to make one I was just wondering how I would change the colour from white to red and how I can do it so it only fires out when you press an input and so it fires out from the players position? thanks

 ![233813-postprocess.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/a/17a2c5a41a2d370cbb35f11424e784020b45bd61.png)

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [March 18, 2018, 7:27am UTC](https://forums.unrealengine.com/t/sonar-pulse-help/419844/2 "2018-03-18T07:27:14Z")

</div>

- To color it you need to feed the resulting value as alpha mask in to Lerp node. Or just make RGB vector by appending 2 float 0 to it (X-0-0).
- To fire it you need to drive a parameter by blueprint, like animation graph.
- To place an origin within player location you need to feed a vector of current player position as a parameter.

All those questions were answered here on Answerhub or Forums, there are even tutorial on YT on that matter.

> **[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...

You could also use PP sonar effect:

https://forums.unrealengine.com/development-discussion/rendering/22363-radar-sonar-pulse-post-processing-material

---

<div class="post-metadata">

**Author:** ![SnowPlatinum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SnowPlatinum](https://forums.unrealengine.com/u/SnowPlatinum)\
**Post date:** [April 7, 2022, 3:35pm UTC](https://forums.unrealengine.com/t/sonar-pulse-help/419844/3 "2022-04-07T15:35:21Z")

</div>

Your solution

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/0/ad0375bfccbca974d4c4b5c6e4ca5601e24b3c6a.jpeg "Sonar Vision on Unreal Engine || MY Shooting Game DevLog #02") ](https://www.youtube.com/watch?v=auR6hPSgy5I)
