<h2 id="valuechange-remotestate-updatedvalue">ValueChange</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun <T> ValueChange(
    remoteState: MutableRemoteState<T>,
    updatedValue: RemoteState<T>,
): Action
```

Creates an [Action](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/Action) that updates the value of a [MutableRemoteState](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/MutableRemoteState) to a new [RemoteState](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteState).

#### Parameters

| | |
| --- | --- |
| remoteState | The mutable remote state to be updated. |
| updatedValue | The new remote state value to apply. |

#### Returns

| | |
| --- | --- |
|  | An [Action](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/Action) representing the value change. |