I want to hide the mouse when it’s over the window, but show it again when it’s out of the window.
Right now I can only hide it using setGrabbed, but then the mouse will be always inside the window, and the else won’t run.
if(Mouse.isInsideWindow()){
Mouse.setGrabbed(true);
}else{
Mouse.setGrabbed(false);
}
