Mod:Creation Kit/OnControlDown - ScriptObject

F4SE Member of: Mod:Creation Kit/ScriptObject Script

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

Syntax
Event OnControlDown(string control)

Parameters

 * control: The control press.

Examples
Event OnControlDown(string control) If (control == "Forward") Debug.Trace("The player is pressing the forwards control.") EndIf EndEvent