@mocanvas/editor · interface
interface TLPointerInfoWhat getPointerInfo reads off a pointer event.
Properties · 9
accelKey: booleanmetaKey on Apple platforms, ctrlKey elsewhere.
altKey: booleanbutton: numberctrlKey: booleanisPen: booleanWhether the event came from a pen rather than a mouse or a finger.
metaKey: booleanpoint: VecModelPosition relative to the element the event was read against.
pointerId: numbershiftKey: booleanMentioned 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.