Mod:Creation Kit/UnregisterForKey - ScriptObject

F4SE Member of: Mod:Creation Kit/ScriptObject Script

Unregisters the given Scan Code for OnKeyDown and OnKeyUp events after prior registration via RegisterForKey.

Syntax
Function UnregisterForKey(int keyCode) Native

Parameters

 * keyCode: The Scan Code of the key to stop listening for.

Return Value
None

Examples
UnregisterForKey(160) ; L-Shift