Releasing mouse

How can I release the mouse from the default capture of the window (using code, not pressing the windows key)?

You mean like the one that captures it so that the fly cam works like Quake?



flyCam.setEnabled(false)

pspeed said:
You mean like the one that captures it so that the fly cam works like Quake?

flyCam.setEnabled(false)

It worked! Thanks!