MCPcopy Create free account
hub / github.com/breck7/scroll / getSelectedParticles

Method getSelectedParticles

external/.scrollLibs.js:15872–15874  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15870 .join("\n")
15871 }
15872 getSelectedParticles() {
15873 return this.topDownArray.filter(particle => particle.isSelected())
15874 }
15875 clearSelection() {
15876 this.getSelectedParticles().forEach(particle => particle.unselectParticle())
15877 }

Callers 2

selectionToStringMethod · 0.95
clearSelectionMethod · 0.95

Calls 2

isSelectedMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected