# Momentary button not working with HMI in touchscreen mode

**URL:** <https://forum.inductiveautomation.com/t/momentary-button-not-working-with-hmi-in-touchscreen-mode/7526>\
**Category:** Ignition\
**Created:** [November 6, 2013, 5:05pm UTC](https://forum.inductiveautomation.com/t/momentary-button-not-working-with-hmi-in-touchscreen-mode/7526 "2013-11-06T17:05:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [November 6, 2013, 5:05pm UTC](https://forum.inductiveautomation.com/t/momentary-button-not-working-with-hmi-in-touchscreen-mode/7526/1 "2013-11-06T17:05:46Z")

</div>

I have a momentary button that I am having issues with being operated from a touchscreen. When pressing from HMI, it only writes the value for 3 secs. max but when operating from laptop with mouse it writes the value as long as it is down pressed. I installed nomousy thinking that maybe it was because of the cursors slight movements when pressing from the HMI, but that didn’t work. I’ve tried buttons (mousePressed) but I run into the same issue, seems like the downpress doesn’t hold that state. Anyone else run into this issue when using touchscreen HMI’s?  
Thanks!

---

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [November 15, 2013, 3:19pm UTC](https://forum.inductiveautomation.com/t/momentary-button-not-working-with-hmi-in-touchscreen-mode/7526/2 "2013-11-15T15:19:19Z")

</div>

this ended up being a setting on the touchscreen, I disabled ‘auto right-click’ and the momentary buttons work good.
