IsKeyPressed (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | isKeyPressed(virtualScanCode) | Returns whether a key is pressed or not, using virtual scan codes. | {{MethodParam|virtualScanCode|unknown|}} | Returns whether ...')
Newer edit →
(Created page with '{{HarvestMethod | isKeyPressed(virtualScanCode) | Returns whether a key is pressed or not, using virtual scan codes. | {{MethodParam|virtualScanCode|unknown|}} | Returns whether ...')
Newer edit →
Revision as of 23:04, 1 December 2009
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. |
Example
local isShiftPressed = harvest.isKeyPressed(virtualScanCode)