> ## Documentation Index
> Fetch the complete documentation index at: https://docs.basset.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# view.hierarchy

> Every view whose bounds contain a point, topmost first, with its class and frame

Walks the view hierarchy at a point in the key window's coordinate space, on
request. One reading, listing every view whose bounds contain the point,
topmost first — not the one view a real hit-test would pick.

| | |
| - | - |
| [Delivery](/instruments/metadata) | reading, once |
| Mechanism | statusRead |
| [Requires](/instruments/metadata) | iOS 17+, basset 0.4.0+ |

**Config** (`uikit.view.hierarchy:key=value,...`)

* `x` (double): The point's x coordinate, in the key window's own coordinate space. Default 0.
* `y` (double): The point's y coordinate, in the key window's own coordinate space. Default 0.

Real output from `basset request get`, captured against a running app:

```
CAPTURED                  ELAPSED  INSTRUMENT

launch 10014595862725830010
2026-08-23T15:03:19.372Z  +0.0s    uikit.view.hierarchy(viewHierarchy) — 31 views
UIWindow  0,0 375×667
   └─ UITransitionView  0,0 375×667
      └─ UIDropShadowView  0,0 375×667
         └─ UILayoutContainerView  0,0 375×667
            ├─ UITransitionView  0,0 375×667
               └─ UIViewControllerWrapperView  0,0 375×667
                  └─ UILayoutContainerView  0,0 375×667
                     ├─ UINavigationTransitionView  0,0 375×667
                        └─ UIViewControllerWrapperView  0,0 375×667
                           └─ UIView  0,0 375×667
                              └─ UIScrollView  0,74 375×593
                                 ├─ _UITouchPassthroughView  0,74 375×593
                                    └─ BackdropView  0,519.2 375×147.79999999999995
                                 ├─ UIStackView  16,98 343×600.5
                                    └─ UIView  16,538.5 343×160
                                       └─ UIView  24,546.5 327×144
                                          └─ UIStackView  24,546.5 327×144
                                             └─ UIButton  36,648.5 303×30
                                                └─ UIButtonLabel  95.5,654.5 184×18
                                 └─ _UITouchPassthroughView  0,74 375×593
                                    └─ ScrollEdgeEffectView  0,519.2 375×147.79999999999995
                                       ├─ PocketMask  0,519.2 375×147.79999999999995
                                          └─ UIView  0,519.2 375×147.79999999999995
                                       └─ LuminanceAdjustment  0,519.2 375×147.79999999999995
                                          ├─ BackdropView  0,519.2 375×147.79999999999995
                                          └─ _UIPortalView  0,519.2 375×147.79999999999995
                     └─ FloatingBarContainerView  0,0 375×667
                        └─ FloatingBarHostingView<FloatingBarContainer>  0,0 375×667
            └─ _UITabBarContainerWrapperView  0,584 375×83
               └─ _UITabBarContainerView  0,0 375×667
                  └─ UITabBar  0,584 375×83
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.