I currently have a level that the player walks around and when he gets close to a poster on the wall, the crosshair changes to another cursor, and when the user clicks, the game is paused and a full screen widget appears. Added to this, there’s a SET show mouse cursor node, that makes the system mouse pointer appear over the widget to click on some links. When the player wants to get back to the game, he presses the right mouse button, the widget closes, and the mouse pointer disappears, and the player can keep walking around inside the level.
The problem I have with that is that it works perfectly fine in all delivery methods but HTML5, which is the one we need. In the browser, when the player right clicks to close the full screen widget, the mouse pointer is still active, so the player has to click again inside the game to release the mouse from the system to the game. This is very confusing for someone who is not familiar with it.
So I was wondering if there’s a way to set the blueprint in a way that the focus is returned to the game and the system releases the mouse. I tried everything, including the “Set input mode game only” node, but nothing works in HTML5, although it works in everything else.
And if this is a restriction from the browser, is there a way to achieve the same but without releasing the mouse to the system? Like setting a cursor widget that will get the focus, but it won’t be the system mouse, but it will be inside the game?