# Pointerout not triggering when I enabled multi-touch

**URL:** <https://phaser.discourse.group/t/pointerout-not-triggering-when-i-enabled-multi-touch/1863>\
**Category:** Phaser 3\
**Created:** [March 27, 2019, 10:33am UTC](https://phaser.discourse.group/t/pointerout-not-triggering-when-i-enabled-multi-touch/1863 "2019-03-27T10:33:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jepsuCoded](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/jepsucoded/32/1439_2.png) [@jepsuCoded](https://phaser.discourse.group/u/jepsuCoded)\
**Post date:** [March 27, 2019, 10:33am UTC](https://phaser.discourse.group/t/pointerout-not-triggering-when-i-enabled-multi-touch/1863/1 "2019-03-27T10:33:32Z")

</div>

I am creating a mobile game that requires 2 or more input touches but the problem is the `...on('pointerout', ...)` won’t trigger when pointer leaves the game object. It works fine as expected without this on the game config:

```javascript
var config = {
       ...,
       input: {
           activePointers: 4 // or any number
       },
       ...
   }

```

Here is the code snippet of my problem:

```javascript
var config = {
      type: Phaser.AUTO,
      width: 320,
      height: 320,
      parent: 'phaser-game',
      scene: {
        create: startGame
      },
      
      input: {
        activePointers: 4
      }
      
    };
    game = new Phaser.Game(config);
    
    function startGame() {
        var text = this.add.text(game.config.width/2, game.config.height/2, 'NONE', {
          color: '#000000', fontSize: 32
        }).setDepth(10).setOrigin(0.5, 0.5);
        
        var test = this.add.rectangle(
        0, game.config.height/2,
        game.config.width, 64, 0xff0000).setOrigin(0, 0.5)
        .setInteractive()
        .on('pointerdown', function() {
          test.setFillStyle(0x00ff00);
          text.setText('pointerdown');
        })
        .on('pointerup', function() {
          test.setFillStyle(0x0000ff);
          text.setText('pointerup');
        })
        .on('pointerout', function() {
          test.setFillStyle(0xff0000);
          text.setText('pointerout');
        })
    }

```

Try testing it out with the activePointers enabled then try it again without the activePointers. Is this a bug or am I missing something? By the way I’m only using my phone so I haven’t test it out on a desktop.
