@name HOLO SHIP FAILCAKE
@inputs Active W A S D Shift
@outputs
@persist
@trigger all

if(first()){
    holoCreate(1)# body
    Body = holoEntity(1)
    ######## Body ########
    holoColor(1, vec(0,255,0), 255)
    holoModel(1, "Cube")
    holoPos(1, entity():pos() + vec(0,0,30))
    holoScale(1, vec(10,1,1))
    holoParent(1, entity())
}
runOnTick(1)
if(W == 1){
    holoPos(1, Body:pos() + Body:forward())
}
 if(S == 1){
    holoPos(1, Body:pos() + -Body:forward()))
}
