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

```kotlin
public abstract class DragPolicy internal constructor()
```

Base Policy for motion behavior of spatial objects.

This class serves as the foundation for defining how a spatial object can be moved or anchored in
the environment. Implementations of this class, such as [MovePolicy](/jetpack-compose/androidx.xr.compose/compose/classes/MovePolicy) and [AnchorPolicy](/jetpack-compose/androidx.xr.compose/compose/classes/AnchorPolicy), are
mutually exclusive.