Ciwiel
1
Hello I would like to know how is it possible to players to move when SetNuiFocus is set to true please ? Thank you 
SetNuiFocus has 2 parameters
void SET_NUI_FOCUS(BOOL hasFocus, BOOL hasCursor);
maybe true, false will allow you to move but you can not have the cursor up and move at the same time.
What do you need to do with the cursor while the player is unlocked?
Ciwiel
5
The players ask me to permit them to move with the mouse when they open this menu:
Because they find it boring to be immobilized when he is open

The mouse allow them to choose between the differents actions.
Well you could make a key modifier when the menu is open to do like when hold left alt shoe thr cursor or something. I am not sure of any more options as I have never done anything else but just just deal with the player not being able to move.
You should be able to use html standard tab index, where users would nav control just by clicking the Tab button or Shift Tab to reverse, then clicking that tabindex with enter key. Works on all websites. ISSUE: you have to actually index the elements you want navigated. no biggie really.
NOTE: its is rather un-intuitive to most users to tab around, its really old school lol, i would make an obvious note of the feature, also if the users really needs mouse over UI, they can Alt-Tab for mouse and just click on the UI for that click.
<button class="menuoption" data-sub="inventory" tabindex="1">Inventory</button>
<button class="menuoption" data-sub="crafting" tabindex="2">Crafting</button>
<button class="menuoption" data-sub="zamazon" tabindex="3">Zamazon Primeless</button>
<button class="menuoption" data-sub="commands-binds" tabindex="4">Binds & Commands</button>
<button class="menuoption" data-sub="rules" tabindex="5">Rules</button>
As per focus.
I just set SetNuiFocus(true,false) adds focus to window but keeps game control “minus walking”, i would suggest disabling some controls, pending on your setup.
I was able to open my UI, navigate around with tab and enter, and mouse to look around.
If anyone still has this problem here is fix 
SetNuiFocus(true, true)
SetNuiFocusKeepInput(true)
I know its an old post but i just had this same problem and found fix so i post it here so if anyone has the same problem again they can find fix for it.
12 Likes
wiizz
9
Do you know how to disable mouse input while allowing keyboard input ?
I would like players to still be able to move without using the mouse disturbing their movement