1 decade ago by Marenz
I've initted the Mouse but I still get nothing back.
ig.input.initMouse();
console.log(ig.input.mouse.x + ' ' + ig.input.mouse.y);
The results are always "0 0" My goal is to detect the position of a touch of the game screen for a mobile-only game.
ig.input.initMouse();
console.log(ig.input.mouse.x + ' ' + ig.input.mouse.y);
The results are always "0 0" My goal is to detect the position of a touch of the game screen for a mobile-only game.