Garry's Mod Wiki

Garry's Mod Wiki

  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 IN enum

Returns

1 boolean
Was the key down or not

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...