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

    Type Alias NodeAtPointDep

    NodeAtPointDep: (
        point: { x: number; y: number },
        exclude?: Iterable<NodeId>,
    ) => NodeId | null

    Topmost-node-at-world-point dep, consumed by moveAction for reparent-on-drop and available to any action that needs a single-best pick. Mirrors the same hit-test plumbing <SceneCanvas> feeds to the tool dispatcher; consumers with custom hit-testing override here.

    exclude is iterated once per call and treated as a set membership test — the dep walks hits front-to-back and returns the first id not in the exclude set. Pass moving-node roots + their descendants when the caller wants to ignore the nodes it's manipulating.

    Type Declaration

      • (point: { x: number; y: number }, exclude?: Iterable<NodeId>): NodeId | null
      • Parameters

        • point: { x: number; y: number }
        • Optionalexclude: Iterable<NodeId>

        Returns NodeId | null