UnregisterForKey - ScriptObject

F4SE Member of: ScriptObject Script
Requires F4SE version 0.3.0 or higher.

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

SyntaxEdit

Function UnregisterForKey(int keyCode) Native

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

UnregisterForKey(160) ; L-Shift

NotesEdit

NONE

See AlsoEdit