@name Security Holo
@inputs 
@outputs 
@persist 
@trigger 

E = entity()

if(first() || duped()){
    
    print(findInSphere(E:pos()+vec(25,25,0), 30))
    
    
    function entity plyScan(){
        findInSphere(E:pos()+vec(25,25,0), 30)
        
        
        }
    
    function number check(){
        
        }
    
    
    }





if(first() || duped()){
    holoCreate(1)
    holoModel(1, "cube")
    holoScale(1, vec(0.5,0.5,17))
    holoColor(1, vec(0,0,0))
    
    holoCreate(2)
    holoModel(2, "cube")
    holoScale(2, vec(0.5,0.5,17)) 
    holoPos(2, E:pos() + vec(50,0,0))
    holoColor(2, vec(0,0,0))
    
    holoCreate(3)
    holoModel(3, "cube")
    holoScale(3, vec(0.5,0.5,17)) 
    holoPos(3, E:pos() + vec(0,50,0))
    holoColor(3, vec(0,0,0))
    
    holoCreate(4)
    holoModel(4, "cube")
    holoScale(4, vec(0.5,0.5,17)) 
    holoPos(4, E:pos() + vec(50,50,0))
    holoColor(4, vec(0,0,0))
    
    holoCreate(5)
    holoModel(5, "plane")
    holoPos(5, E:pos() + vec(25,25,0))
    holoScale(5, vec(4.5,4.5,1))
    holoColor(5, vec(90,90,90))
    
    }
