@mocanvas/mocanvas · function
declare function updateArrowTargetState(opts: UpdateArrowTargetStateOpts): ArrowTargetState | nullRecompute the target state from the current pointer position, publish it, and return it.
Called on every pointer move of a terminal drag. Returns null — and clears
the published state — when there is nothing bindable under the pointer, so a
caller can treat "no target" and "cleared" identically.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.