# Is it possible to bind UMG Animation to Slider?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902>\
**Category:** UI\
**Tags:** slider, unreal-engine, Widget, Blueprint, question, UMG\
**Created:** [June 14, 2021, 11:38pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902 "2021-06-14T23:38:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnhingedGoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnhingedGoon](https://forums.unrealengine.com/u/UnhingedGoon)\
**Post date:** [June 14, 2021, 11:38pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902/1 "2021-06-14T23:38:55Z")

</div>

I want to play a UMG Animation based on a slider. Is that possible?

---

<div class="post-metadata">

**Author:** ![engelmanna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@engelmanna](https://forums.unrealengine.com/u/engelmanna)\
**Post date:** [June 15, 2021, 2:32am UTC](https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902/2 "2021-06-15T02:32:04Z")

</div>

Yes it’s possible. Although I don’t know what type of performance this would have for non-trivial stuff.

1. Create your animation
2. Kick off your animation with a “Play Animation Node”
3. Set Playback Speed of the Play Animation node to 0.0
4. In your slider widget graph, create a new event “On Value Changed” for the slider
5. User the “Set Animation Current Time” for your animation. You can use your slider value to drive the Time of the animation

Example blueprint demonstrating this setup: [Control UMG animation with slider posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4](https://blueprintue.com/blueprint/_b8g25gq/)

---

<div class="post-metadata">

**Author:** ![UnhingedGoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnhingedGoon](https://forums.unrealengine.com/u/UnhingedGoon)\
**Post date:** [June 17, 2021, 4:47pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902/3 "2021-06-17T16:47:15Z")

</div>

Thanks for your answer. Helped a lot 🙂

---

<div class="post-metadata">

**Author:** ![MegaVarg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MegaVarg](https://forums.unrealengine.com/u/MegaVarg)\
**Post date:** [May 14, 2024, 4:16pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-bind-umg-animation-to-slider/484902/4 "2024-05-14T16:16:51Z")

</div>

Thanks for this info. But do you know how to use sliders to play through an animation? I would like to connect a slider to my animation and when I drag the slider it runs through the animation. Let’s say you import an simple cube animation with translate and rotation from Maya that you have done. Then you connect the animation to the slider in Unreal. How do you do that, can’t find any info about Driven, or Run or Play your animation with a UI slider for Unreal anywhere? Can look into this? Thanks in advance. Hope for a reply.
