@mocanvas/mocanvas · function
declare function getArrowTargetState(editor: Editor): ArrowTargetState | nullWhat the arrow is currently pointing at, or null when it is over empty
canvas.
Reactive: read it inside a useValue or a react and the caller re-runs as
the pointer moves.
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.