Fuzziness

Fuzziness enlarges the area of touch detection for a bar. Fuzziness should only be used if snapping is not enabled.

Fuzziness should be handled with precaution as it directly manipulates the hit box for the bar. Too large values can lead to undesirable hit detection.

Adding a fuzziness value will result in the hit box being increased as demonstrated below.

To add fuzziness you can use one of the following constructors:

BarInteractionEvents(
    ...
    fuzziness: Fuzziness.all(10),
    ...
)

Last updated