---
title: "ExperimentalSpatialAnimationApi"
description: "Marks the Spatial Animation APIs as experimental."
type: "class"
---
## API Reference

> Source set: Android

```kotlin
@RequiresOptIn(message = "This is an experimental API. It may be changed or removed in the future.")
public annotation class ExperimentalSpatialAnimationApi
```

Marks the Spatial Animation APIs as experimental. These APIs may change or be removed in the
future.

Any usage of a declaration annotated with `@ExperimentalSpatialAnimationApi` must be accepted
either by annotating that usage with `@OptIn(ExperimentalSpatialAnimationApi::class)` or by
propagating the annotation to the containing declaration.
