Something like the magnet switches from LBP could achieve all kinds of stuff like this; they're basically proximity switches. If we were able to use entity names within script, something like "if(proximity(box1,box2)<500);1.0;else;0.0;end" would do it. The way I've written that is probably stupid, but you get the idea... expanding on this, you could have sketchyphysics know an object's position in relation to the origin, something like "x/y/zproximity(origin,box1)", its x/y/z speed and how much it's pitch/roll/yawing. Also use joint names in script, like "0.5-hinge1000", for levers etc. If it's possible, that'd be awesome, if it's not, never mind.