input/WasKeyReleased

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
|type=number
 
|type=number
 
|name=key
 
|name=key
|desc=Corresponds to {{EnumLink|KEY}}.
+
|desc=The key, see {{Enum|KEY}}.
 
}}
 
}}
 
{{Ret
 
{{Ret

Revision as of 07:47, 5 December 2013

 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