Navigator: maxTouchPoints property

The maxTouchPoints read-only property of the Navigator interface returns the maximum number of simultaneous touch contact points that are supported by the current device.

Value

A number.

Examples

js
if (navigator.maxTouchPoints > 1) {
  // browser supports multi-touch
}

Specifications

Browser compatibility