shiftKey

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the shiftKey
shiftKey()
Summary

Returns the state of the Shift key.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
if shiftKey() is down then beep
set the locked of me to (the shiftKey is up)
Values
NameTypeDescription
return

The shiftKey function returns down if the key is pressed and up if it's not.

RelatedConstant: left
Message: scrollbarBeginning
Function: keysDown
Control Structure: function
Glossary: return
Description

Use the shiftKey function to check whether the user is pressing the Shift key.

Tagsui