@mocanvas/editor · interface

TLInteractionStartPerfEvent

interface TLInteractionStartPerfEvent

A user interaction began: a drag, a resize, a tool gesture.

time is on the same clock as {@link ../editor/tltime.tltime.now} — a monotonic millisecond reading, not a wall clock — because the only thing anyone does with it is subtract two of them.


Properties · 2

name: string

What began, e.g. "translating", "resizing". Opaque to the editor.

time?: 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.