mozilla
Your Search Results

    Touch.force

    Summary

    Returns the amount of pressure the user is applying to the touch surface for this Touch.

    Syntax

    var force = touchItem.force;
    

    Return value

    force
    The amount of pressure the user is applying to the touch surface. This is a value between 0.0 (no pressure) and 1.0 (the maximum amount of pressure the hardware can recognize).

    Specification

    Touch Events Specification

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, kosvrouvas, Khodaidad_Basharmand, fscholz, kscarfone
    Last updated by: fscholz,