Working with Imported Mesh

I’m working on a project similar to this one :
How can I acess methods and properties of the imported mesh like position and intersection with other meshes, outside the method when its created ?

Welcome aboard!

You can put it in a global variable, but be aware to access it only when ImportMesh has finished its work!

You can also use the async/await construct: