MCPcopy
hub / github.com/tldraw/tldraw / getSelectedShapeIds

Method getSelectedShapeIds

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

Source from the content-addressed store, hash-verified

2039 * @public
2040 */
2041 @computed getSelectedShapeIds() {
2042 return this.getCurrentPageState().selectedShapeIds
2043 }
2044
2045 /**
2046 * An array containing all of the currently selected shapes.

Callers 15

getSelectedShapesMethod · 0.95
isAncestorSelectedMethod · 0.95
deselectMethod · 0.95
selectAllMethod · 0.95
selectAdjacentShapeMethod · 0.95
selectNoneMethod · 0.95
getSelectionRotationMethod · 0.95
getCulledShapesMethod · 0.95
getSharedStylesMethod · 0.95

Calls 1

getCurrentPageStateMethod · 0.95

Tested by 5

initFunction · 0.64
onlySelectedIdFunction · 0.64
dragOntoFrameFunction · 0.64
nudgeAndGetFunction · 0.64
measureLineBandsFunction · 0.64