VS:Option

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Option return TRUE if the Option key (Mac) or Alt key (Windows) was depressed during the last user event. This function operates with the MouseDown, KeyDown, AutoKey, GetPt, GetPtL, GetLine, and GetRect calls.

FUNCTION Option : BOOLEAN;
def vs.Option():
    return BOOLEAN

Version

Availability: from All Versions

See Also

VS Functions:

VS:MouseDown | VS:KeyDown | VS:AutoKey

VS Functions:

[[VS:MouseDown]] | [[VS:KeyDown]]

| [[VS:AutoKey]]