Mod:Creation Kit/OnControlUp - ScriptObject

F4SE Member of: Mod:Creation Kit/ScriptObject Script

Listens for the release of game controls that have been registered via RegisterForControl.

Syntax
Event OnControlUp(string control, float time)

Parameters

 * control: The control press.
 * time: The amount of time the control was held down in seconds.

Examples
Event OnControlUp(string control, float time) If (control == "Forward") Debug.Trace("The Forward control was released after" + time + " seconds.") EndIf EndEvent