Table of Contents

Struct DraggableState

Namespace
Velvet
Assembly
Velvet.Docs.dll

What Hooks.UseDraggable returns: dnd-kit's useDraggable state. Transform is the translate the drag applies to this draggable, null unless it is the one being dragged.

public readonly record struct DraggableState

Constructors

DraggableState(bool, DraggableInfo?, DroppableInfo?, Vector2?)

What Hooks.UseDraggable returns: dnd-kit's useDraggable state. Transform is the translate the drag applies to this draggable, null unless it is the one being dragged.

Properties

Active
IsDragging
Over
Transform