Access to specific value

Hello friends ,

I use BABYLON.SceneLoader.ImportMesh("", “./mesh/”, “ae.obj”, scene, function(myobject)
to import my object , it is working , but i dont find a way to access to this object on realtime mode in the web browser console .

I try for exemple myobject[0].position.x = 10 ; but it is not working

Any help ? thanks !

You can access it in the console if you put it on the window:

function(myobject){
window.myobject = myobject;
}
2 Likes

Thanks !