@name Contraption ID 2
@inputs Reset
@outputs Self ID:string
@persist Array:array Self ID:string Count
if(first()){timer("Start",1000) Self=entity():id()}

if(Reset){reset()}
if(clk("Start")){
Array=entity():getConstraints()
while(Array:count()){
    Self+=Array:popEntity():id()
    ID=toString(Self)
}
gSetGroup(ID)
}
