Jump to content

mouseUp event outside of the canvas?


Recommended Posts


Here's the case: http://www.babylonjs-playground.com/#GV32Z Press the mousebutton and move the cursor onto the code-window on the left > release the mouseButton there and now move the cursor onto the canvas again (without pressing the mouse button). The camera is moving although the mouseButton is not pressed.

You see that Babylon didn't recognize the mouseUp-Event outside of the canvas.

Is there a way to extend the mouseListener of the camera controls so that it listens to the mouseUp-event on the whole document?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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