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


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


<h2 id="freefocus">freeFocus</h2>

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


```kotlin
fun FocusRequesterModifierNode.freeFocus(): Boolean
```


Use this function to send a request to free focus when one of the components associated with this
`FocusRequester` is in a Captured state. If a component frees focus, it will send a `FocusState`
object to its associated `onFocusChanged` modifiers where `FocusState.isCaptured`() == false.

When a component is in a Captured state, all focus requests from other components are declined. .

#### Returns

| | |
| --- | --- |
|  | true if the captured focus was successfully released. i.e. At the end of this operation, one of the components associated with this `focusRequester` freed focus. |