RAGE.Input.IsDown

From RAGE Multiplayer Wiki

Returns true if the key at passed virtual key code is pressed.

Syntax

RAGE.Input.IsDown(int keyCode);

Required Arguments

  • keyCode: Int keyCode

Example

C# Syntax

Parameters

  • keyCode: Int keyCode

Example

public bool inputIsDown(int keyCode)
{
    return RAGE.Input.IsDown(keyCode);
}


See also