function Mind() { function movement(){ console.log(World.cam.position); } function main(){ movement(); } main(); }