@mocanvas/editor · interface

TLCursorSlotProps

interface TLCursorSlotProps

What a TLComponents.CollaboratorCursor slot is rendered with.


Properties · 5

color?: string

The collaborator's colour.

name?: string | null

The collaborator's name, drawn beside the arrow.

point?: {

Screen-space position.

rotation: number

Rotation in radians — a resize cursor follows the shape it will resize.

type: string

The cursor kind, as editor.getCursor() reports it.

Mentioned here

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.