eda_pcb_select_control_get_current_mouse_position
Get the current mouse position on the PCB canvas. Returns x and y coordinates, or undefined when the mouse is not over the canvas.
Instructions
pcb_SelectControl.getCurrentMousePosition() -> Promise<{ x: number; y: number } | undefined>
获取当前鼠标在画布上的位置
returns: 鼠标在画布上的位置,undefined 代表当前鼠标不在画布上
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |