MiscClientBlocked

cancelOnscreenKeyboard

CANCEL_ONSCREEN_KEYBOARD0x58A39BE597CE99CD

The GTA V native CANCEL_ONSCREEN_KEYBOARD of the MISC namespace, as LS:MP client scripts call it: the global function cancelOnscreenKeyboard, in JavaScript and in Lua.

SignatureJavaScript
cancelOnscreenKeyboard(): void
SignatureLua
cancelOnscreenKeyboard()
✕
Blocked for scripts: Shared menus and input

LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Misc MISC
In the game
void CANCEL_ONSCREEN_KEYBOARD()
Hash
0x58A39BE597CE99CD
Introduced
Game build 757 legacy numbering
Formerly
_CANCEL_ONSCREEN_KEYBOARD

Open in the interactive natives reference