I'm trying to make this box move in both the up and down directions, but currently it only moves up.
BoxGeo = new HREE.BoxGeometry(10,10,10)
BoxMat = new THREE.MeshPhongMaterial({
color: 0xf3e54f
}),
cab = new THREE.Mesh ( BoxGeo, BoxMat);
scene.add(cab);
cab.position.y += 1;