@name Door Chip
@inputs 
@outputs H1 H2
@persist Tog 
@trigger 
interval(100)
O=entity():isConstrainedTo():owner()
#O=owner()
Door=entity():isConstrainedTo()
if(O:aimEntity()==Door&O:keyUse()){
Tog=!Tog
}
Open=270
if(Tog){
    H1=4+Open
    H2=2+Open
}else
{
H1=22
H2=20
}
entity():setAlpha(0)
