legnox Posted April 20, 2016 Share Posted April 20, 2016 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 More sharing options...
Recommended Posts