# How to control a parameter with a slider in Unreal?

**URL:** <https://qa.fmod.com/t/how-to-control-a-parameter-with-a-slider-in-unreal/18196>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [January 9, 2022, 12:05am UTC](https://qa.fmod.com/t/how-to-control-a-parameter-with-a-slider-in-unreal/18196 "2022-01-09T00:05:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_F](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@Tomas\_F](https://qa.fmod.com/u/Tomas_F)\
**Post date:** [January 9, 2022, 12:05am UTC](https://qa.fmod.com/t/how-to-control-a-parameter-with-a-slider-in-unreal/18196/1 "2022-01-09T00:05:01Z")

</div>

Hi there. I know this is a noob question, but I am just trying to figure things out. I want to setup a simplest slider in Unreal that would be linked to any parameter that I set up in FMOD project. Pitch change, volume, whatever, really. I guess it should be fairly simple, but I can´t get to find how to do it.  
Also, is there a way how to “automate” such a parameter so that I could set manually the time over which it would change?  
Thank you!

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [January 9, 2022, 3:50pm UTC](https://qa.fmod.com/t/how-to-control-a-parameter-with-a-slider-in-unreal/18196/2 "2022-01-09T15:50:48Z")

</div>

Hi. You probably want to create in UE a Widget blueprint containing a slider, then create an instance of it at runtime and adding it to the viewport and maybe enabling the mouse input, something like this:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/69d674e87b7ebbf4c79b37f71f08e356db837fe1.png)

You’ll then use the event “On value change” of the slider to link the return value to your fmod parameter.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7b752375a90194465d8729926d8f9454304cfaef.png)

> [@Tomas\_F](#):
>
> Also, is there a way how to “automate” such a parameter so that I could set manually the time over which it would change?

I didn’t understand…
