Start native apps faster with the Composables CLI ->
Property

lastVelocity

The velocity of the last known animation.

Source set: Common
public var lastVelocity: Float by mutableFloatStateOf(0f)

The velocity of the last known animation. Gets reset to 0f when an animation completes successfully, but does not get reset when an animation gets interrupted. You can use this value to provide smooth reconciliation behavior when re-targeting an animation.