MCPcopy
hub / github.com/tldraw/tldraw / getEditingShape

Method getEditingShape

packages/editor/src/lib/editor/Editor.ts:2690–2693  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2688 * @public
2689 */
2690 @computed getEditingShape(): TLShape | undefined {
2691 const editingShapeId = this.getEditingShapeId()
2692 return editingShapeId ? this.getShape(editingShapeId) : undefined
2693 }
2694
2695 /**
2696 * Whether the shape can be edited.

Callers 11

handleKeyDownFunction · 0.80
onEnterMethod · 0.80
onPointerMoveMethod · 0.80
onPointerDownMethod · 0.80
onPointerUpMethod · 0.80
handleKeydownFunction · 0.80
BezierCurveShapeExampleFunction · 0.80

Calls 2

getEditingShapeIdMethod · 0.95
getShapeMethod · 0.95

Tested by

no test coverage detected