MouseEvent Class for Pencil.js mouse related events. Examples // This will override the native MouseEvent class ! import { MouseEvent } from "pencil.js"; component.fire(new MouseEvent("eventName", component, aPosition));