input_mouseDrag
Simulate a mouse drag relative to the Moho window, enabling interaction with sliders, timeline playhead, or drawing tools.
Instructions
Drag from (startX, startY) to (endX, endY) relative to the MOHO window. Useful for dragging timeline playhead, sliders, or drawing operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | Yes | Drag end X coordinate (window-relative) | |
| endY | Yes | Drag end Y coordinate (window-relative) | |
| steps | No | Number of intermediate points for smooth drag (default 10) | |
| button | No | Mouse button: "left" (default), "right" | |
| startX | Yes | Drag start X coordinate (window-relative) | |
| startY | Yes | Drag start Y coordinate (window-relative) |