@name Holo test3
@inputs On
@outputs 
@persist Timer C
@trigger 
interval(110)
Chip=entity()

if(first()) {
holoCreate(1)
holoPos(1,Chip:pos()+vec(0,0,30))
holoColor(1,vec(100,100,100))
holoScale(1,vec(3.9,0.11,12.8))
#holoCreate(2)
#holoPos(2,Chip:pos()+vec(0,0,40))
#holoColor(2,vec(100,100,100))
#holoScale(2,vec(3.1,0.12,0.1))
#holoParent(2,holoEntity(1)) 
#holoCreate(3)
#holoPos(3,Chip:pos()+vec(0,0,20))
#holoScale(3,vec(3.0,0.11,0.1))
#holoParent(1,holoEntity(3))
}

if(On & C < 90) {C+=10}
elseif(!On & C > 0) {C-=10}
holoAng(3, ang(0,0,C))
