# MotionScene

## Functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/MotionScene` | `@https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ExperimentalMotionApi @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/MotionScene.composable#MotionScene(kotlin.String)(@https://javadoc.io/doc/org.jetbrains/annotations/latest/org/intellij/lang/annotations/Language.html(value = "json5") content: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Parses the given JSON5 into a `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/MotionScene.composable#MotionScene(kotlin.String)`. |

## Functions

### MotionScene

Artifact: [androidx.constraintlayout:constraintlayout-compose](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/compose/MotionScene.kt+function:MotionScene) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
@ExperimentalMotionApi
@Composable
fun MotionScene(@Language(value = "json5") content: String): MotionScene
```

Parses the given JSON5 into a `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/MotionScene.composable#MotionScene(kotlin.String)`.

See the official [GitHub Wiki](https://github.com/androidx/constraintlayout/wiki/Compose-MotionLayout-JSON-Syntax) to learn the syntax.