Navigator.maxTouchPoints

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

Syntax

touchPoints = navigator.maxTouchPoints;

Example

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

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
maxTouchPoints
35
12
59
29
11
10
Yes
13
37
35
79
29
Yes
13
3.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints