ui_check_alignment
Determine if UI elements share an edge on an axis within a tolerance, returning a numerical answer instead of an opinion.
Instructions
Whether the given elements share an edge on an axis, within a tolerance. Answers "are these on the same line" with a number instead of an opinion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | testIDs or accessibility labels to compare. | |
| axis | No | Axis to compare. Defaults to y. | |
| tolerance | No | Allowed spread in points. Defaults to 1. |