Phaser.Plugin.VirtualJoystick.prototype.move = function (pointer, x, y) { if (!this.isDragging || this.pointer != pointer) // this should be add this.pointer !=pointer { return; } .... } is it right ?