I have a problem with the ‘pointermove’ event. My pointer won’t recognize the movement above 200px on the x axis. Even the console.log won’t show. But when i click (left or right) it shows up in the text, but the line wont move…
I have made a .GIF to illustrate the problem. I hope that you guys can help me with this strange problem.
lineInteraction() {
this.scene.input.on('pointermove', function (pointer) {
console.log(pointer.x)
this.shape.setPosition(pointer.x, this.shape.y)
this.dot.setPosition(pointer.worldX, pointer.y)
}, this);
}