<div class='type'>Function</div>


<a id='references'></a>


<h2 id="foreach-block-key-position">forEach</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline fun <T> DraggableAnchors<T>.forEach(block: (key: T, position: Float) -> Unit)
```


Iterate over all the anchors.

#### Parameters

| | |
| --- | --- |
| block | The action to invoke with the key and position |