Skip to content
Desktop inputOverviewNew · 0.744

unlockwindow

Describe releasing the local cursor-confinement mode.

Details#

Releases desktop cursor confinement, resets the module's window-lock flag and returns true. It does not simulate a keyboard or mouse event.

Examples#

Example

Luau
print(unlockwindow()) -- true
print(iswindowlocked()) -- false