MCPcopy Create free account
hub / github.com/GoogleChrome/samples / pointerMove

Function pointerMove

idle-detection/script.mjs:53–56  ·  view source on GitHub ↗
({offsetX, offsetY})

Source from the content-addressed store, hash-verified

51});
52
53const pointerMove = ({offsetX, offsetY}) => {
54 curX = floor(offsetX);
55 curY = floor(offsetY);
56};
57
58const pointerUp = () => {
59 pressed = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected