On Tue, May 18, 2021 at 2:43 AM umardraz <unix...@gmail.com> wrote: > Ok it worked > ... > guac.getDisplay().showCursor(!1); > ...
Beware that this is bad practice. It would be better to just say "false" and let your build-time JavaScript optimization deal with things like "!1". But there is an issue, when I come back in canvas then the cursor is not > appear again, is there something like onmousein so I can showCursor again > The event for that would just be the other events that you're already handling ("onmousemove" and friends). Receipt of any event that isn't "onmouseout" means that the mouse is back. Michael Jumper CEO, Lead Developer Glyptodon Inc <https://glyp.to/>.