Jump to content

Check for when NOT "onInputDown" on sprite?


legnox
 Share

Recommended Posts

OKAY so I have this sprite 'class' that extends phaser.sprite

 

I have a onInputDown event that calls an event-listener method WITHIN my sprite class. 

I'd like to know what the best route for checking if mouse input is down BUT not clicking on the sprite.
(player misses clicking on the sprite)

It'd be best if this could be done from within my extended sprite class to I could call method from inside that 'class'

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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