Jump to content

Detecting onInputOver without moving mouse?


Raicuparta
 Share

Recommended Posts

After defining onInputOver event, it seems like it is only called when the mouse is moved. For instance, if I just changed states and the mouse was already on top of the button, the even won't be triggered. Is there a way to manually force this check so it is triggered if the mouse is there? The only way I can think of is actually checking the mouse position but that's pretty dirty, I'd much prefer a cleaner alternative.

 

EDIT:

Actually just disregard this, I was blocking the input myself so it wasn't Phaser's fault.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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