{"id":"input.mouse--mouseFrame","name":"mouseFrame","owner":"yeho","package":"input.mouse","kind":"thing","signature":"external thing mouseFrame","description":"A mouse frame record carrying position, buttons, wheelSteps.","context":"Read mouse position, buttons, and relative input for native interactions.","parameters":[],"returns":"void","members":[{"name":"position","kind":"field","type":"mousePosition","description":"Stores position as mousePosition.","signature":"mousePosition position","tags":["thing","field","input.mouse"],"updated":"2026-09-09"},{"name":"buttons","kind":"field","type":"mouseButtons","description":"Stores buttons as mouseButtons.","signature":"mouseButtons buttons","tags":["thing","field","input.mouse"],"updated":"2026-09-09"},{"name":"wheelSteps","kind":"field","type":"int","description":"Stores wheel steps as int.","signature":"int wheelSteps","tags":["thing","field","input.mouse"],"updated":"2026-09-09"},{"name":"mouseFrame","kind":"constructor","parameters":[{"name":"position","type":"mousePosition","description":"Position."},{"name":"buttons","type":"mouseButtons","description":"Buttons."},{"name":"wheelSteps","type":"int","description":"Wheel steps."}],"returns":"void","signature":"mouseFrame(mousePosition position, mouseButtons buttons, int wheelSteps)","description":"Mouse frame.","tags":["thing","constructor","input.mouse"],"updated":"2026-09-09"}],"tags":["cpu","input","input.mouse","mouse","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/input/mouse/mouse.yh","line":50,"sha256":"a5cc47e935de36ef75b762c9e99443a266ac5906884f1d657528aeb744667047"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use mouseFrame","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using input.mouse\n\n// Read mouse position, buttons, and relative input for native interactions.\nmouseFrame sample = mouseFrame(mousePosition(1, 1), mouseButtons(true, true, true, true, true), 1)\nConsole.Log(Text.From(sample.wheelSteps))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.input_mouse__mouseframe\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"input.mouse\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/mouse\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"6f885246d9915679ab4cd2883c40df7a253d7425696b6f3b581f0948f94c22eb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["position","buttons","wheelSteps","mouseFrame"],"url":"https://demonhunterlabs.com/academy/api?item=input.mouse--mouseFrame","json":"https://demonhunterlabs.com/reference/items/input.mouse--mouseFrame.json","markdown":"https://demonhunterlabs.com/reference/text/input.mouse--mouseFrame.md"}
