I'm making a html/js game, and attempting to add on screen controls for mobile use. However, I have found that pressing and holding on a button on mobile will highlight the button as though it is pressed but no onMouseDown event is fired and the page is simply waiting for you to swipe to scroll.
Is there an easy fix to this, to allow a mobile user to press and hold a button, or some other way to emulate the separate OnMouseDown/OnMouseUp functions?