Jump to content

Pointer isDown stays true if the pointer leaves the canvas


mariogarranz
 Share

Recommended Posts

I have noticed that if a Pointer leaves the canvas area while being down, when it enters the canvas again, it is still returning isDown as true, even if the mouse is not being pressed anymore.

 

Is this a normal behavior? I tried checking withinGame value to reset my input variables, but that doesn't seem to work because as soon as the Pointer is back inside the canvas it will be considered as pressed.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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