Thanks Jonathan ! It works perfectly well now !
There is something else I’d like to achieve but my JS is really bad for that.
My document has 3 scene. The first is the container and scene2 and scene3 can be displayed at will in the container scene using buttons. Those button’s ID’s are the name of the scene. How can I make the gotoScene JS pick the buttons ID and call the scene named after this ID ? The goal is to make a global function instead of having a function for every button
LoadSceneIntoIframe.hype.zip (40.7 KB)