---
title: "requestFocusForChildInLocalBounds"
description: "Attempts to request focus for the most suitable focusable child node that overlaps with the given rect area ([left], [top], [right], [bottom])."
type: "function"
lastmod: "2026-08-27"
---
## API Reference

### requestFocusForChildInLocalBounds

> Source set: Common

```kotlin
public fun DelegatableNode.requestFocusForChildInLocalBounds(
    left: Int,
    top: Int,
    right: Int,
    bottom: Int,
): Boolean
```

Attempts to request focus for the most suitable focusable child node that overlaps with the given
rect area (`left`, `top`, `right`, `bottom`).

The rectangle is interpreted in the coordinate space **relative to the receiver node**.

#### Parameters

| | |
| --- | --- |
| left | the left edge of the rectangle, in pixels relative to the receiver node's origin. |
| top | the top edge of the rectangle, in pixels relative to the receiver node's origin. |
| right | the right edge of the rectangle, in pixels relative to the receiver node's origin. |
| bottom | the bottom edge of the rectangle, in pixels relative to the receiver node's origin. |

#### Return

`true` if a matching child was found and focus was granted; `false` if no such child exists, it is already focused, or the focus request failed.
