Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

221 B
Raw Blame
export function releasedOutsideWindow(point: Pick<MouseEvent, "clientX" | "clientY">): boolean {
  const { clientX: x, clientY: y } = point;
  return x < 0 || y < 0 || x >= window.innerWidth || y >= window.innerHeight;
}