Garry's Mod Wiki

input.WasKeyTyped

Description

Returns whether the key is being held down or not.

This function only works in Move hooks, and will detect key events even in main menu or when a typing in a text field.

Arguments

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

Returns

1 boolean
Whether the key is being held down or not.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 4
Generate Html 5
SaveChanges 9
Render Body 0
Render Sidebar 11