Good morning everyone, I'm trying to return a mesh from one object to the main scope, something like. unit.prototype.getMesh = function(){ return this.mesh;}.....main scope:unit1 = new unit();..all the operations with the unit (load mesh, etc...)..console.log (unit1.getMesh());Problem is.... this doesn't work, returns undefined, but... if I put a console.log(this.mesh) on the getMesh method, I do get the mesh on the console. Strange..... The problem is.. I do need to return the mesh, because I need to test the intersection between that mesh and another one. Ideas anyone? Thanks in advance.