[Solved] Disable Mouse/Touch dual touch or only enable left click

Hi , does anyone know how to disable dual mouse click? 
I know dual mouse click will open Menu and Back  , but I already have a dedicated Menu button and Back button.


As for as I know Mouse = Touch,


I'm currently making a small education game for Mobile.


Thank you


#update

Code:
TouchInput.isCancelled = function() {
  return false;
};
Put this in a new .js file in your plugins folder, and add to the plugin manager.  File name doesn't matter.


TouchInput.isCancelled = function() {
return false;
};




I haven't tested this.  If you have any issues, post back with the details.
Worked perfectly!


That gave me an idea!


Thank you 🙂!

Original thread: https://forums.rpgmakerweb.com/threads/solved-disable-mouse-touch-dual-touch-or-only-enable-left-click.72678/