controlKey

returns the state of the Control key.

# Metadata

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

# Syntax

the controlKey

# Examples

put (the controlKey is up) and (the shiftKey is up) into ctrlShift

if controlKey() is down then go back

# Description

Use the controlKey function to check whether the user is pressing the Control key.

# Tags

ui,

# See

- **constant:** down, left, up - **message:** commandKeyDown - **function:** commandKey, keysDown - **glossary:** return, function