# How to make slider reacts with changing values?

**URL:** <https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033>\
**Category:** UI\
**Tags:** slider, value, unreal-engine, Blueprint, question\
**Created:** [March 31, 2020, 7:29pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033 "2020-03-31T19:29:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![n0miya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n0miya](https://forums.unrealengine.com/u/n0miya)\
**Post date:** [March 31, 2020, 7:29pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/1 "2020-03-31T19:29:07Z")

</div>

When I press the button next to the slider, the number in the box change, but the slider doesn’t. As you can see from the picture that the slider and the number are not synced together. How to make slider reacts with changing values?

 ![298743-2020-03-30-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/8/da8cc92cae240958ee683c229c38f9bb1cb4c068.png)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [March 31, 2020, 7:38pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/2 "2020-03-31T19:38:16Z")

</div>

In you specific case, update slider when you update the box, if you can do it you should do it as it most optimized way to deal with it, with action update also UI whis way changes in UI happens only when they are needed saving up preformance.

Other way and most stright forward is using property binding (i assuming you using UMG), which if widget is involatile will work same as tick so watch out what you doing with it

> **[Property Binding](https://docs.unrealengine.com/5.1/en-US/property-binding-for-umg-in-unreal-engine/)**
>
> A guide to binding properties inside UMG.

Also check voletile properties of your widgets, Slate/UMG caches rendered UI to save up performance and you need to invalidate widget to make it change, usually set functions of perticilar widget do that for you

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 1, 2020, 10:57am UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/3 "2020-04-01T10:57:18Z")

</div>

I believe you want the sliders and numbers to be affected by the buttons on the sides, am I right?

---

<div class="post-metadata">

**Author:** ![n0miya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n0miya](https://forums.unrealengine.com/u/n0miya)\
**Post date:** [April 1, 2020, 3:28pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/4 "2020-04-01T15:28:29Z")

</div>

Yes, you’re right.

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 1, 2020, 4:23pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/5 "2020-04-01T16:23:30Z")

</div>

Here are some screenshots

image 1 is the Blueprint for the text  
image 2 is for the the red sldeir that controll the value on the wihte slider

 ![298931-008.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/5/bc5cc7f9ef5bddf655b83b14f232a9e13a558933.png)

![298932-010.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/c/09c525557e48f55d6082a989cd9366c7e0daa8cc.png)

 ![298933-009.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/a/4ba8efb0bdeec0dc3877cb53b2a0ca7693ce2281.png)

 ![298934-007.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/4/7b4c9bcdca86ef64a8fe97e9f382f8525640610c.png)

 ![298935-011.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/3/f438be1945c6cd471fa684d235833cb4a8515218.png)

I hope this will help you

---

<div class="post-metadata">

**Author:** ![n0miya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n0miya](https://forums.unrealengine.com/u/n0miya)\
**Post date:** [April 1, 2020, 5:38pm UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/6 "2020-04-01T17:38:47Z")

</div>

It’s now working, thanks a lot.

---

<div class="post-metadata">

**Author:** ![DarkGate4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkGate4](https://forums.unrealengine.com/u/DarkGate4)\
**Post date:** [February 9, 2024, 6:58am UTC](https://forums.unrealengine.com/t/how-to-make-slider-reacts-with-changing-values/463033/7 "2024-02-09T06:58:16Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/0/1705f3bc38ddda793f67064428081c21ed58fdb8.png)

Instead of using property binding, which can be expensive, I opted to manually trigger this. Calling invalidate causes the widget to redraw.
