How to embed existing Hype project to another Hype project?πŸ€”

function mainSceneLoad_externa (hypeDocument, element, event) {	
	if (window.donescene == true)
		return;
	
	window.donescene = true;
	
	var query = window.location.search.substring(1); 
	var vars = query.split("&"); 
 	for (var i=0;i<vars.length;i++) 
 	{ 
    	var pair = vars[i].split("="); 
    	if (pair[0] == "scene") { 

    		hypeDocument.showSceneNamed(pair[1], hypeDocument.kSceneTransitionInstant);
      		return;      		
      		
    	} 
  }

With this code you can load a specific scene of another project