weasel API - v0.8.0
    Preparing search index...

    Function useSelectTool

    • Active-slot Tool:

      • select.pick classifies the press (pointerDown) — it runs the tool's own pickBest/pickEvery so click semantics (selection replace, extend, deferred collapse) live in one place.
      • drag is owned exclusively by the dispatcher via Tool.bindings (selected-body → moveAction, rotate-handle → rotateAction, handle:* → resizeAction, empty → areaSelectAction, click on empty → clearSelection).
      • Move ghosts render via the preview-ghost layer (driven by moveAction's previewIds/previewPose); the marquee renders via the dispatcher overlay layer (driven by areaSelectAction's overlay()).

      Type Parameters

      • TNode extends { id: string }
      • TPose

      Parameters

      Returns Tool<null>