RAGE.Input.IsDown

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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
C.png

Parameters

  • keyCode: Int keyCode

Example

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


See also