Returns the state of option/alt, cmd/ctrl, shift keys.
PROCEDURE GetModifierFlags(
VAR optionFlag : BOOLEAN;
VAR cmdFlag : BOOLEAN;
VAR shiftFlag : BOOLEAN);def vs.GetModifierFlags():
return (optionFlag, cmdFlag, shiftFlag)| Name | Type | Description |
|---|---|---|
| optionFlag | BOOLEAN | The state of the option/alt key. |
| cmdFlag | BOOLEAN | The state of the cmd/ctrl key. |
| shiftFlag | BOOLEAN | The state of the shift key. |
Availability: from Vectorworks 2025