Hello All, I have made a local script containing a simulation in Threejs. This works pretty good when only using the local script. However, now I want to show this local script inside a window inside my 'main' HMI. The issue I have is that I cannot correctly show the ThreeJS visualisation inside this window. When I switch to this screen, the visualisation appears underneath the screen, not inside the container. And when I switch screens, the visualisation remains to be visiable under the screen. But it should be closed. I am not too familiar with javascript. Is there anything I am doing wrong?
... View more