# \[UMG\] Disable button after press causes some issues

**URL:** <https://forums.unrealengine.com/t/umg-disable-button-after-press-causes-some-issues/384086>\
**Category:** UI\
**Tags:** unreal-engine, Widget, question, UMG\
**Created:** [February 6, 2017, 4:16pm UTC](https://forums.unrealengine.com/t/umg-disable-button-after-press-causes-some-issues/384086 "2017-02-06T16:16:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [February 6, 2017, 4:16pm UTC](https://forums.unrealengine.com/t/umg-disable-button-after-press-causes-some-issues/384086/1 "2017-02-06T16:16:53Z")

</div>

Hey,  
Developing for VR and making use lots of WidgetComponents. Just came across an issue when disabling a button after it was PRESSED (not clicked) that works out differently depending on the WidgetComponent you are on.  
Was able to reproduce it in a blank project.  
Issues: Buttons not highlight, not firing.

1. Make a new project, shooter setup
2. Add WidgetInteractionComponent (WIC) to the FirstPersonGun on the Character (or to the MotionControlerComponent of a VR project)
3. Set up any button you like to make WIC-\>PressPointerKey(LeftMouseButton) and the same for ReleasePointerKey
4. Create two Widgets, add some buttons to each
5. Make each button fire a PrintString
6. One button disables itself when PRESSED (not clicked)
7. another button (same widget) reenables the button
8. Make an Actor, add 2 WidgetComponents, set the 2 widgets
9. Place the actor in the world
10. play
11. press the buttons that disables itself
12. see how no button is highlighting anymore
13. press a button on the SAME WidgetComponent as the disabled button - button will fire. Everything is working again (highligthing/pressing)
14. reenable the button
15. press the button that disables itself
16. see how no button is highlighting
17. press a button on the OTHER WidgetComponent
18. see how the button animation for press is drawing but the string is not printing
19. press the button again and again WITHOUT leaving it!
20. see how nothing does happen
21. leave that button, everything is back to normal (highlighting/pressing)

Issues does not appear when the button that disabled itself is disabled ON CLICK.

cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 6, 2017, 5:46pm UTC](https://forums.unrealengine.com/t/umg-disable-button-after-press-causes-some-issues/384086/2 "2017-02-06T17:46:01Z")

</div>

Hello

After running some tests and doing some digging I was able to find that this is a known issue. I have provided a link to the public tracker below. Please feel free to use the link provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-20311)](https://issues.unrealengine.com/issue/UE-20311)

Make it a great day
