Change children position

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 :confused:
Hope someone can help!
Best, Luis

Hi!
Any chance to provide a live code example (jsfiddle, codepen etc.)?

Hello prisioner, it’s a little big, want me to send you?
Meanwhile going to try to synthesise the code to one page and try codepen
Thank you for the fast response

ok solved lol
here how I solved for any1 interested:

if (event.which == "81") {
     
      var myVector3 = new THREE.Vector3();
      parentTransform.children.forEach(function(pChild) {
        pChild.rotation.y = 1;