PointerEventTypes POINTERTAP without small movements

hey there,
i am building a small draw tool but struggle with the pointerEventTypes. According to the manual POINTERTAP only fires when there was no movement between pointerdown and -up. BUT in reality i can click, then slightly move the mouse and release the click – and it still will be registered as a POINTERTAP.
is there anything like a threshold to prevent this behavior?

Thank you so much,


1 Like

cc @PolygonalSun

Try to tune DragMovementThreshold on the InputManager class InputManager | Babylon.js Documentation

It’s not readonly so probably you can change it.

UPD: And I found this property on the scene, interesting! Scene | Babylon.js Documentation

1 Like