up

Equivalent to the string "up".

# Metadata

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

# Syntax

up

# Examples

if the shiftKey is up then beep

wait while the mouse is up

# Description

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

# Tags

ui,

# See

- **keyword:** string - **constant:** left, down - **message:** arrowKey - **command:** constant - **function:** commandKey, altKey, controlKey - **glossary:** mouse button, modifier key, handler