@mocanvas/editor · interface

TLPointer

interface TLPointer

Where the pointer is, in page space, plus the moment it was last there.


Properties · 6

readonly id: TLPointerId
lastActivityTimestamp: number

Date.now() at the last move. Used to decide whether a pointer is stale.

meta: JsonObject
readonly typeName: "pointer"
x: number
y: 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.