@name Pro COLORER
@outputs 
@inputs 
@persist Ents:array Ent:entity


if (tickClk()) {
    for (I = 1, Ents:count()) {
        
        Ents[I, entity]:setMaterial("debug/debugdrawflat")
        Ents[I, entity]:setColor(hsv2rgb((curtime()*10)%360,1,1))
        
      
    }
}
elseif (clk("target")) {
    timer("target", 1000)
    findIncludePlayerProps(owner()) 
    findByClass("prop_physics")
    Ents = findToArray()
}
elseif (first()) {
    timer("target", 50)
    runOnTick(1)
}
elseif (duped()) {
    reset()   
}


#entity():setPos(vec(random(-500,500),random(-500,500),random(-500,500)))
