---
title: "bringIntoView"
description: "Bring this node into visible bounds. Does nothing if the node is not attached.

This method will not return until this request is satisfied or a newer request interrupts it. If
this call is interrupted by a newer call, this method will throw a
[CancellationException][kotlinx.coroutines.CancellationException]."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
suspend fun DelegatableNode.bringIntoView(bounds: (() -> Rect?)? = null)
```


Bring this node into visible bounds. Does nothing if the node is not attached.

This method will not return until this request is satisfied or a newer request interrupts it. If
this call is interrupted by a newer call, this method will throw a
`CancellationException`.

#### Parameters

| | |
| --- | --- |
| bounds | provides the bounds (In local coordinates) that should be brought into view. The function may return a different value over time, if the bounds of the request change while the request is being processed. If you don't provide bounds, the whole node bounds will be used. |




