MultiEscape function.