window_at
Check what a click at a specific screen point will hit before acting. Returns the compositor's pick and every window covering that coordinate to prevent misclicks.
Instructions
What a click at this point would hit. Use it before clicking somewhere you inferred from a screenshot. Reports both the compositor's own pick (which respects input shapes, so a click-through overlay is seen through) and every window whose rectangle covers the point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes |