down

Equivalent to the string "down".

# Metadata

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

# Syntax

down

# Examples

wait while the mouse is down

if the altKey is down then showHelpText

# Description

Use the down constant to indicate the state of a mouse button or modifier key, or in an arrowKey handler.

# Tags

ui,

# See

- **keyword:** string - **constant:** left, up - **message:** arrowKey - **command:** constant - **glossary:** mouse button, modifier key, handler