input.WasKeyReleased

From Garry's Mod
Revision as of 07:47, 5 December 2013 by Robotboy655 (Talk | contribs)
Jump to: navigation, search
 input.WasKeyReleased( )

Description

Gets whether a key was release in the same frame this function was called.

Arguments

number key

The key, see KEY_ Enums.

Returns

boolean

True if the key was released the same frame that this function was called, false otherwise.
Personal tools
Navigation