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

    Function useLassoTool

    • Free-form polygon select Tool. Drag is handled entirely by the gesture dispatcher via the lassoSelect action binding below; the dispatcher overlay layer (useDispatcherOverlayLayer) paints the live polyline + dashed close-line while the gesture is in flight. Esc cancels through the dispatcher's standard cancel pipeline.

      The legacy useLassoSelect hook is removed — all gesture state, overlay rendering, and selection commit live in lassoSelectAction (see src/interactions/actions/defaults/lassoSelect.ts).

      Parameters

      Returns Tool<undefined>