# forEachUncoveredSemanticsNode

> Visits the semantics nodes in the unmerged tree that aren't completely covered by siblings drawn on top of them.

## API Reference

### forEachUncoveredSemanticsNode

> Source set: Common

```kotlin
public fun SemanticsOwner.forEachUncoveredSemanticsNode(visitor: UncoveredSemanticsNodeVisitor)
```

Visits the semantics nodes in the unmerged tree that aren't completely covered by siblings drawn
on top of them.

Starts at `SemanticsOwner.unmergedRootSemanticsNode`, which is always visited (hosts usually map
its id to their own root). Children come from `SemanticsNode.collectAccessibilityChildren`, so
descendants of [clearAndSetSemantics](https://composables.com/jetpack-compose/androidx.compose.ui/ui/modifiers/clearAndSetSemantics/api.md) nodes and inline text link test markers
(`SemanticsProperties.LinkTestMarker`) are not visited. The bounds passed to `visitor` are the
bounding box of the uncovered part of each node's touch bounds; synthetic nodes use the bounds of
the node that owns them. Nothing is visited if the root isn't attached and placed.

#### Parameters

| | |
| --- | --- |
| visitor | Called for each uncovered node. |
