Hi,
I would like to test the onPointerObservable that I have written. I would like to send a mouse event in the test to the scene that has an onPointerObservable
On initial inspection, you are triggering an event against “mousedown” rather than “pointerdown”. If you change line 35 to say clickEvent.initEvent("pointerdown", true, true);
It should trigger your observable properly.
On that note, I feel like it should be triggered on a “mousedown” event so I’ll dig into a bit and verify what’s going on.