@mocanvas/mocanvas · interface

TLCollaboratorOverlayBase

interface TLCollaboratorOverlayBase extends TLOverlay

What every collaborator overlay carries: who it belongs to, and their colour.


Properties · 4

color: string

Their assigned colour, from the presence record.

isIdle: boolean

Whether they have gone quiet — drawn dimmer, never hidden.

presenceId: string

The collaborator's presence record id.

userName: string

Their display name.

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.