Garry's Mod Wiki

CMoveData:KeyDown

  boolean CMoveData:KeyDown( number key )

Description

Returns whether the key is down or not

Arguments

1 number key
The key to test, see IN enum

Returns

1 boolean
Is the key down or not