Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ LockInput
ProtoInput.LockInput
Open in the workbench (search, and try it in a handler)
ProtoInput.LockInput(lockInput: boolean): number
Locks or unlocks the real mouse and keyboard for the whole PC (runs in Nucleus, not in a game): while locked, mouse input is blocked, keys are blanked and the cursor is clipped to the corner. Parameter: true to lock, false to unlock. Nucleus calls it itself when input is locked or unlocked; it returns the ID of its loop thread.
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback