I'm trying to get the position of the mouse if the mouse is outside of the game window. but the mouse.x and mouse.y doesn't update the position when it is outside.
How do I update the position of the mouse if it's outside?
Also I'm having problem with mouse over CSS objects like Textbox as well. the Mouse position doesn't get update.
Develop games in your browser. Powerful, performant & highly capable.
Outside canvas? yes, outside window? i don't think that's possible