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

    Function useEyedropperTool

    • Eyedropper. Click a node to sample its color; the consumer's onPick callback decides where the color goes. Engages as a sticky active-slot tool (I keybinding) and as a momentary hotkey-slot tool while Alt is held — consumers can override either trigger to null.

      Pure-read tool — does NOT mutate the scene. v1 is click-only; drag is unbound (a future drag-to-sample option is additive).

      The node under the click comes from the nodeAtPoint dep, so an eyedropper in a consumer that never registered that dep samples nothing. <SceneCanvas> sources it from the same picker the rest of the kit hits.

      Parameters

      Returns Tool<null>