Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Click Input Fires Outside Canvas


Ryan
 Share

Recommended Posts

Hey guys,

 

Pretty basic question, but I'm hoping that there's a basic answer that I just haven't been able to find.

this.game.input.onDown.add(this.functionName, this);

Is there a way to make this only fire when the mouse is clicked inside the canvas?

 

Thanks guys!

 

FyreTale

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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