find_element_at
Hit-test screen coordinates to list every scene graph object at that point, sorted front-to-back by depth, optionally measured in an element's local space.
Instructions
Hit-test a screen position to find all scene graph objects at the given coordinates, sorted front-to-back by depth
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in scene space | |
| y | Yes | Y coordinate in scene space | |
| relative_to | No | Element name for relative coordinates. If provided, x,y are in that element's local space |