@mocanvas/editor · interface

TLCursorProps

interface TLCursorProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 5

color?: string

The collaborator's colour, when this is somebody else's cursor.

name?: string | null

The collaborator's name, drawn beside the arrow.

point?: {

Screen-space position, for a collaborator's cursor.

rotation: number

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

type: string

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

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.