@name Detection 
@inputs Prop:entity 
@outputs 
@persist OldProp:entity 
@trigger all 
#Called at start or when prop changed 
if(!isCollClk()){ 
#Removing collision detection on previourlsly linked prop 
if(OldProp!=Prop){ 
OldProp:removeCollDetection() 
} 
OldProp=Prop 
#Adding prop to collis 
Prop:addCollDetection() 
} 
#Called when Prop collides with another object 
if(isCollClk()&&!collHitEntity():isPlayer()){ 
#Moves prop to place where it collided 
collEntity():setPos(collEntityPos()) 
collEntity():setAng(collEntityAng()) 
#Sticks prop to collided entity 
weld(collEntity(),collHitEntity()) 
}
