event.webkitForce is a proprietary WebKit number: how much pressure is applied on a Force Touch trackpad or touchscreen (MDN). Compare it to the static WEBKIT_FORCE_AT_* thresholds when those exist.
Read the notes below before you rely on this property. Prefer feature detection when support is limited.
Syntax
Use event.webkitForce. Start with this line.
JavaScript
event.webkitForce
Call
What it does
event.webkitForce
Primary signature.
Built into the browser. Read event.webkitForce on a MouseEvent — no import required.
Library declarations
JavaScript
event.webkitForce
Parameters
This member has no parameters beyond those shown in the signature.
Return Value
Return Value
Description
*
Number when supported; else often undefined
JavaScript Examples
Example 1 — Feature Detect
Never assume the property exists — check the type first.
For broader pressure, consider Pointer Events pressure.
Compatibility
Browser Support
MouseEvent.webkitForce is marked Non-standard on MDN — not part of any specification. WebKit/Safari Force Touch only.
✓ Non-standard
MouseEvent.webkitForce
Proprietary WebKit pressure number. Limited support. Feature-detect and provide a normal-mouse fallback.
LimitedWebKit only
Google ChromeAll versions · Desktop & Mobile
Full support
Mozilla FirefoxAll versions · Desktop & Mobile
Full support
Apple SafariAll versions · macOS & iOS
Full support
Microsoft EdgeAll versions · Chromium & Legacy
Full support
Internet ExplorerIE 6+ · Legacy environments
Full support
OperaAll modern versions
Full support
webkitForceLimited
Bottom line: Non-standard — study for Safari Force Touch, do not depend on it alone. See the MDN webkitForce reference.
Frequently Asked Questions
It is a proprietary WebKit numeric property on a mouse event that represents how much pressure is being applied on a Force Touch trackpad or touchscreen. On non-WebKit browsers it is usually undefined.
MDN marks it Non-standard — not part of any specification. It is not labeled Deprecated or Experimental on that MDN page, but you should not rely on it in production cross-browser code.
Feature-detect both event.webkitForce and MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN, then check whether webkitForce is greater than or equal to that static threshold.
On supporting WebKit builds it can appear on Force Touch–related mouse events such as mousedown, mouseup, mousemove, and webkitmouseforce* events when the hardware reports pressure.
Prefer Pointer Events with event.pressure (0–1) on pointerdown / pointermove when you need more standard, cross-browser pressure sensing.
Instance. Read event.webkitForce on a live mouse event. The related WEBKIT_FORCE_AT_* values are static constants on the MouseEvent constructor.