shiftKey

returns the state of the Shift key.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

the shiftKey

# Examples

if shiftKey() is down then beep

set the locked of me to (the shiftKey is up)

# Description

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

# Tags

ui,

# See

- **constant:** left - **message:** scrollbarBeginning - **function:** keysDown - **control structure:** function - **glossary:** return