If you use the Is Touching Object event, it'll come out with a false if they aren't touching. so just use (and this is just a fast work-around) a global/instance variable (depending on how you need it) called something like "IsTouching". If "Istouching" is false, do whatever you want it to do if they weren't touching.
Sorry if this sounds convoluted.