monitorFromPoint
monitorFromPoint(
x
,y
):Promise
<null
|Monitor
>
Defined in: window.ts:2495
Returns the monitor that contains the given point. Returns null
if can’t find any.
number
number
Promise
<null
| Monitor
>
import { monitorFromPoint } from '@tauri-apps/api/window';const monitor = await monitorFromPoint(100.0, 200.0);
1.0.0
© 2025 Tauri Contributors. CC-BY / MIT