Table of Contents

Constructor DragMoveArgs

Namespace
Velvet
Assembly
Velvet.Docs.dll

DragMoveArgs(DraggableInfo, DroppableInfo?, Vector2, IReadOnlyList<DndCollision>)

Fired on every move of an active drag, before an onDragOver the same move causes, as dnd-kit's onDragMove is. Over is the target the drag was over before this move and Collisions the strategy's ranking at this move.

public DragMoveArgs(DraggableInfo Active, DroppableInfo? Over, Vector2 Delta, IReadOnlyList<DndCollision> Collisions)

Parameters

Active DraggableInfo
Over DroppableInfo
Delta Vector2
Collisions IReadOnlyList<DndCollision>