imgui_get_canvas_events
Retrieve and consume canvas interaction events including hover, click, drag, wheel, and double-click, with positions and deltas.
Instructions
Drain canvas interaction events from hit regions. Returns hover, click, drag (start/move/end), wheel, and double-click events with positions and deltas. Events are consumed on read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "imgui_get_canvas_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_events | No | Maximum events to return (default 100) |