Originally posted by Ed Mack

It requires a clip on _root, called map containing the areas you're not allowed to walk on (It basically tests the bounding box of the object against an actual shape):

Could you explain that code a lil better, im not sure exactly how it works...?