Can I Control from dispatchEvent (MouseEvent)

We would like to add a Babylon.js layer (canvas) on top of CesiumJS to provide additional value.
I want to redirect mouse events to CesiumJS anywhere but the 3D model on Babylon.js.
Therefore, I am considering whether dispatchEvent can be used, but I tried implementing a simple sample code, but it does not work.
Is it impossible to do CesumJS operations with dispathEvent ?

I was able to solve it by using PointerEvent instead of MouseEvent.