Some of my players (not all players) can't use the mouse (click on screen does nothing :/).
I use this simple script call in an event for enable the mouse:
TouchInput.enable()
// Show Cursor
document.body.style.cursor = 'default'
// Show Cursor
document.body.style.cursor = 'default'
Just in case, this is the script I use for enabling / disabling the mouse
Spoiler
/* Mouse on/off
for enable: TouchInput.enable()
for disable: TouchInput.disable()*/
var _TouchInput_initialize = TouchInput.initialize;
TouchInput.initialize = function() {
_TouchInput_initialize.call(this);
this._touchEnabled = true;
}
var _TouchInput_update = TouchInput.update;
TouchInput.update = function() {
if (this._touchEnabled)
_TouchInput_update.call(this);
}
TouchInput.enable = function() {
this._touchEnabled = true;
}
TouchInput.disable = function() {
this._touchEnabled = false;
TouchInput.clear();
}
for enable: TouchInput.enable()
for disable: TouchInput.disable()*/
var _TouchInput_initialize = TouchInput.initialize;
TouchInput.initialize = function() {
_TouchInput_initialize.call(this);
this._touchEnabled = true;
}
var _TouchInput_update = TouchInput.update;
TouchInput.update = function() {
if (this._touchEnabled)
_TouchInput_update.call(this);
}
TouchInput.enable = function() {
this._touchEnabled = true;
}
TouchInput.disable = function() {
this._touchEnabled = false;
TouchInput.clear();
}