User Guide

Key 103
Method summary for the Global object
See also
_global
Key
Used to monitor a user’s keyboard activity.
You can access the Key object by using the top level
_key property. You can either assign _key to
a variable, or use the
_key property directly to access the Key object’s methods and properties.
Assign _key to a variable.
-- Lingo syntax
objKey = _key
// JavaScript syntax
var objKey = _key;
Use the _key property directly.
-- Lingo syntax
isCtrlDown = _key.controlDown
// JavaScript syntax
var isCtrlDown = _key.controlDown;
Method summary for the Key object
Property summary for the Key object
See also
_key
Method
clearGlobals()
showGlobals()
Method
keyPressed()
Property
commandDown
controlDown
key
keyCode
optionDown
shiftDown