@mocanvas/mocanvas · class

CollaboratorHintOverlayUtil

declare class CollaboratorHintOverlayUtil extends CollaboratorOverlayUtil

The marker on the viewport edge that says a collaborator is off screen, and which way they are.

Without it, somebody who scrolls away simply disappears and there is no way to find them again short of guessing. The marker is clamped to the edge of the viewport and rotated to point at where they actually are.


Methods · 3

getOverlays(): TLCollaboratorHintOverlay[]
isActive(): boolean
render(ctx: CanvasRenderingContext2D): void

Properties · 3

static options: CollaboratorOverlayUtilOptions
static type: string
static zIndex: number

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.