IsKeyPressed (Harvest)

From OxeyeWiki

Revision as of 16:16, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

isKeyPressed(virtualScanCode)

Returns whether a key is pressed or not, using virtual scan codes.

Parameter Expected Type Description
virtualScanCode unknown
Returns

Returns whether a key is pressed or not. The value is of the type Boolean.

Harvest Library

Example

local isShiftPressed = harvest.isKeyPressed(virtualScanCode)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox