@name LoadingThing2
@inputs 
@outputs 
@persist FM 
@trigger 
interval(50)

if (first()) {
    holoCreate(1)
    holoPos(1,entity():toWorld(vec(0,0,20)))
    holoDisableShading(1,1)
    holoParent(1,entity())
}
FM+=0.0035
FM = clamp(FM,0,1)

if (changed(FM)) {
    local N = FM*255
    
    holoColor(1,vec(255-N,N,0))
    holoScale(1,vec(0.8,0.1,FM))
}
