Triggering mouse/touch events in Matter.js -


how 1 go adding programmatically triggered touch/mouse events in matter.js? have few collision events set engine, can not trigger mouseup event stops current dragging action. i've tried various combinations of targeting canvas element, mouse/mouseconstraint, , non-static body.

it turns out had incorrectly configured matter.mouse module, , re-assigning mouse input had been set in mouseconstraint. following works in regards original question:

matter.mouseconstraint.mouse.mouseup(event); 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -