The isPrimary read-only property of the created the event is the primary pointer.
isPrimary
MDN Reference