Jump to content

Error on game.input.activePointer.isDown


Arijit Naskar
 Share

Recommended Posts

I am getting the below error

phaser.min.js:10 [Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
onTouchStart @ phaser.min.js:10
game.device.touch._onTouchStart @ phaser.min.js:10

This error is comming when I am using the below code in my update() function

if(this.game.input.activePointer.isDown  ){
            console.log('1');
    }

It is working fine when I am running my game in XAMPP server. 

I am getting the error if I do a Cordova build for android.

 


 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...