We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is often useful in games to know when the pointer leaves the game canvas. For example: pausing, deselecting, performing specific game logic.
Create a new excalibur pointer event that tracks, perhaps analogous to the actor "exitviewport" and "enterviewport"
Current strategy
engine.canvas.onmouseout = () =>{ console.log('Strike!') };
The text was updated successfully, but these errors were encountered:
This issue hasn't had any recent activity lately and is being marked as stale automatically.
Sorry, something went wrong.
No branches or pull requests
Context
It is often useful in games to know when the pointer leaves the game canvas. For example: pausing, deselecting, performing specific game logic.
Proposal
Create a new excalibur pointer event that tracks, perhaps analogous to the actor "exitviewport" and "enterviewport"
Current strategy
The text was updated successfully, but these errors were encountered: