type The event’s type. Declarationvar type: NSEvent.EventType { get } DiscussionFor a list of possible values, see NSEvent.EventType. See AlsoGetting the event typeNSEvent.EventTypeNSEvent.EventTypeMasksubtypeNSEvent.EventSubtype