Relaring the cursor


i want to put an "m' key in so the simple game will release the cursor so i can go t other windows.

How do i do that in JME?

assign keybindingmanager m with a command like "visible".

in the update method


and u can figure out how to switch it each time u press m key. im too lazy :D

setCursorVisible was what i needed. Thanks.