I am trying to run
document.getElementsByTagName('canvas')[0].dispatchEvent(new MouseEvent("click", {clientX: 100, clientY: 200}));
to simulate mouse input, but it is not working. It works on another engines with canvas. It is possible with Construct?
Develop games in your browser. Powerful, performant & highly capable.
Member since 29 May, 2022