eventNumber
The counter value of the latest mouse or tracking-rectangle event object.
Declaration
var eventNumber: Int { get }Discussion
Every system-generated mouse and tracking-rectangle event increments this counter. If you access this property on an event of an unsupported type, AppKit raises internalInconsistencyException.
See Also
Related Documentation
enterExitEvent(with:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:)mouseEvent(with:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:)