DragPolicy

abstract class DragPolicy

Known direct subclasses
AnchorPolicy

This class is deprecated. Use SubspaceModifier.movable(movePolicy = MovePolicy.anchor()) on the Composable's modifier instead.

MovePolicy

This class is deprecated. Use SubspaceModifier.movable(movePolicy = MovePolicy.system()) or SubspaceModifier.movable(movePolicy = MovePolicy.custom()) on the Composable's modifier instead.


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 and AnchorPolicy, are mutually exclusive.