Contents

modifierFlags

The keyboard modifier flags in effect while the receiver last processed an event.

Declaration

var modifierFlags: NSEvent.ModifierFlags { get }

Discussion

Use this property from an action method or delegate callback to determine which modifier keys, such as Shift or Command, were held down as part of the gesture.

See Also

Getting additional recognizer information