MCPcopy Create free account
hub / github.com/melonjs/melonJS / onMoveEvent

Function onMoveEvent

packages/melonjs/src/input/pointerevent.ts:517–521  ·  view source on GitHub ↗

* mouse/touch/pointer event management (move) * @ignore

(e: Event)

Source from the content-addressed store, hash-verified

515 * @ignore
516 */
517function onMoveEvent(e: Event): void {
518 // dispatch mouse event to registered object
519 dispatchEvent(normalizeEvent(e));
520 // do not prevent default on moveEvent :
521}
522
523/**
524 * mouse/touch/pointer event management (start/down, end/up)

Callers

nothing calls this directly

Calls 2

dispatchEventFunction · 0.85
normalizeEventFunction · 0.85

Tested by

no test coverage detected