RAGE.Input.IsDown
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

Parameters
- keyCode: Int keyCode
Example
public bool inputIsDown(int keyCode)
{
return RAGE.Input.IsDown(keyCode);
}