Hello and good afternoon.
I’d like to change the position of the children of a 3DObject (array of 150)
But I get errors when I call position.x
A bit of the code:
parentTransform = new THREE.Object3D();
  var teste = [];
  teste.length = 150;
  var object;
  for (var i = 0; i < teste.length; i++) {
    object = teste[i];
    object = new THREE.Line(lineGeometry, material);
    object.position.x = 1;
    object.position.y = 1;
    object.position.z = Math.random() * 400 - 200;
    object.rotation.x = 1;
    object.rotation.y = Math.random() * 2 * Math.PI;
    object.rotation.z = Math.random() * 2 * Math.PI;
    parentTransform.add(object);
  }
  scene.add(parentTransform);
  document.addEventListener("keydown", function(event) {
    if (event.which == "81") {
      var children = parentTransform.children;
      children.position(10, 10, 10); 
I would like to change the coordinates of all the lines. It doesn’t happen to work 
Hope someone can help!
Best, Luis