// Cloned by Mikey Dowling on 26 Feb 2019 from Mind "New Mind" by tuitef2 // Please leave this clone trail here. function Mind(playerPosition) { var geometry = new THREE.BoxGeometry( 1, 1, 1 ); var material = new THREE.MeshBasicMaterial( {color: "blue"} ); var ai = new THREE.Mesh( geometry, material ); scene.add( ai ); function movement(){ console.log(playerPosition); } function main(){ movement(); } main(); }