Garry's Mod Wiki

CMoveData:KeyWasDown

boolean CMoveData:KeyWasDown( number key )

Description

Returns whether the key was down or not.

Unlike CMoveData:KeyDown, it will return false if CMoveData:KeyPressed is true and it will return true if CMoveData:KeyReleased is true.

Arguments

1 number key
The key to test, see Enums/IN

Returns

1 boolean
Was the key down or not

Page Links


Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 26
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 13