# Widget buttons - active and deactivate buttons by dragging mouse/finger

**URL:** <https://forums.unrealengine.com/t/widget-buttons-active-and-deactivate-buttons-by-dragging-mouse-finger/479853>\
**Category:** UI\
**Tags:** hover, buttons, unreal-engine, Widget, question\
**Created:** [March 6, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/widget-buttons-active-and-deactivate-buttons-by-dragging-mouse-finger/479853 "2021-03-06T20:16:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalauczen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalauczen](https://forums.unrealengine.com/u/kalauczen)\
**Post date:** [March 6, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/widget-buttons-active-and-deactivate-buttons-by-dragging-mouse-finger/479853/1 "2021-03-06T20:16:16Z")

</div>

Hi.

I’m trying to make movement buttons for my android game, but i have a problem with i can’t solve it.

Im trying to make buttons that are active when pressed and/or when a player move his finger on that button.  
When i use “On Hovered” and “On Unhovered”, buttons works fine when i move finger from one button to another, all of them active and deactivate. **But this works ONLY when i touch screen outside of buttons and drag my finger to them.**

When i press a for example **Button1** directly, and move my finger to a **Button2** , it wont activate **Button2** because **Button1** is still pressed/locked until its released.

Is there’s a way to disable buttons pressing, so it can only detect hovering?

Or Is there’s another way to active buttons when player **press and move** a finger on it and deactive when finger was **moved away** from a button.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [March 8, 2021, 3:55pm UTC](https://forums.unrealengine.com/t/widget-buttons-active-and-deactivate-buttons-by-dragging-mouse-finger/479853/2 "2021-03-08T15:55:40Z")

</div>

Hello! One possible solution to use Image instead of Buttons and override their OnHover and OnUnhover events.

---

<div class="post-metadata">

**Author:** ![kalauczen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalauczen](https://forums.unrealengine.com/u/kalauczen)\
**Post date:** [March 18, 2021, 11:05pm UTC](https://forums.unrealengine.com/t/widget-buttons-active-and-deactivate-buttons-by-dragging-mouse-finger/479853/3 "2021-03-18T23:05:53Z")

</div>

Sorry for long time response.

Thanks **Kehel18!** I used “Is Hovered” on Images attached to “Event Tick” and it works perfectly on phone.

Thanks!
