# slider snapping to half way value when pressing A after focus gained  

**URL:** <https://forums.unrealengine.com/t/slider-snapping-to-half-way-value-when-pressing-a-after-focus-gained/2437722>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [April 3, 2025, 1:51pm UTC](https://forums.unrealengine.com/t/slider-snapping-to-half-way-value-when-pressing-a-after-focus-gained/2437722 "2025-04-03T13:51:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![thundercataj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thundercataj](https://forums.unrealengine.com/u/thundercataj)\
**Post date:** [July 9, 2025, 12:36pm UTC](https://forums.unrealengine.com/t/slider-snapping-to-half-way-value-when-pressing-a-after-focus-gained/2437722/2 "2025-07-09T12:36:35Z")

</div>

[SOLVED]  
on the slider I added this code (pic).

[@Razivoid](https://dev.epicgames.com/community/api/user_profiles/tab-redirect/about?discourse_username=Razivoid) also mentioned [here](https://forums.unrealengine.com/t/set-slider-values-without-triggering-onvaluechanged/2065179/13) there is a bool you can just use also.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/3/1c37112b0b10dca6ced619d3c7e84f15df3108b4.png)

---

_[View the full topic](https://forums.unrealengine.com/t/slider-snapping-to-half-way-value-when-pressing-a-after-focus-gained/2437722)._
