Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 613 Bytes

File metadata and controls

29 lines (23 loc) · 613 Bytes

GetModifierFlags

Description

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)

Parameters

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.

Version

Availability: from Vectorworks 2025

Category