# Changing sound volume in run-time - how ?

**URL:** <https://qa.fmod.com/t/changing-sound-volume-in-run-time-how/13007>\
**Category:** Unreal Engine\
**Created:** [February 27, 2017, 3:16pm UTC](https://qa.fmod.com/t/changing-sound-volume-in-run-time-how/13007 "2017-02-27T15:16:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![motorsep](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@motorsep](https://qa.fmod.com/u/motorsep)\
**Post date:** [February 27, 2017, 3:16pm UTC](https://qa.fmod.com/t/changing-sound-volume-in-run-time-how/13007/1 "2017-02-27T15:16:45Z")

</div>

I have an actor moving from point A to point B with player being somewhere between those points.

I need to set volume of the sound (on that moving actor) low at points A and B, but at the point where player is the volume needs to be cranked up to the max.

How do I do that in Blueprints ?

Thanks

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 1, 2017, 3:06am UTC](https://qa.fmod.com/t/changing-sound-volume-in-run-time-how/13007/2 "2017-03-01T03:06:33Z")

</div>

You could use the SetVolume node on a FMODAudioComponent and modify it depending on the distance to the player.
