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 Enums/IN

Returns

1 boolean
Is the key down or not