Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » shiftKey

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

shiftKey

the shiftKey

Value returned: one of the constants up or down indicating whether the Shift key is up or down

Examples

if the shiftKey is up then ...
if (the mouse is down) and (the shiftKey is down) then...
wait until shiftKey() is up

Demo Script

on shiftKeyDemo
-- Hold down the Shift key when you click Run the Script.
answer "The Shift key is:" && the shiftKey
end shiftKeyDemo

Related Topics

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View