@name E2 Colorer and Ranger
@outputs Name:string
@persist Ranger:ranger Last Col:vector Scan
interval(10)
Ranger = ranger(300)
if(Ranger:entity() & !Scan)
{
 Col = Ranger:entity():getColor()
 Last = Ranger:entity():id()
 Ranger:entity():setColor(255,0,0)
 Scan = 1
}
if(!Ranger:entity() | Ranger:entity():id() != Last)
{
 entity(Last):setColor(Col:x(),Col:y(),Col:z())
 Scan = 0
}