Error getting tags :
error 404Error getting tags :
error 404 optionKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
optionKey
Basics
Expander triangle
Type
Function
Syntax

the optionKey optionKey()

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the state of the Option key.
Examples

wait until the optionKey is down
put the optionKey into item 2 of keyState

Additional Comments
Expander triangle

Use the optionKey function to check whether the Option key, Meta key, or Alt key is being pressed. You can use optionKey to add alternative capabilities to user actions such as clicking.

Value:

The optionKey function returns down if the key is pressed and up if it's not.

Comments:

The altKey, optionKey, and metaKey functions all return the same value. Which one to use is a matter of preference.

The terminology varies depending on platform. Users of different operating systems may know this key as the Option key (Mac OS systems), Meta key (Unix systems), or Alt key (Windows systems).

User Comments
Expander triangle