@mocanvas/mocanvas · interface

TLCollaboratorHintOverlay

interface TLCollaboratorHintOverlay extends TLCollaboratorOverlayBase

The marker that says a collaborator is off screen, and which way to look.

Drawn on the viewport edge, pointing at where they are. Without it a person who scrolls away simply vanishes, and there is no way to follow them back.


Properties · 3

point: VecLike

Screen-space point on the viewport edge where the marker is drawn.

rotation: number

Direction to their cursor, in radians.

type: "collaboratorHint"

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.