EndDrag

data class EndDrag(val key: Any, val velocityPxPerSec: PhysicsVector2) : PhysicsCommand

Ends a drag interaction and provides release velocity.

Parameters

key

Body key.

velocityPxPerSec

Release velocity estimated from pointer movement (px/s).

Constructors

Link copied to clipboard
constructor(key: Any, velocityPxPerSec: PhysicsVector2)

Properties

Link copied to clipboard
val key: Any
Link copied to clipboard