title: Unity Cube gameobject Transform position not changing
body: <p>I want to transform the position of the bottom wall. The bottom wall is a 3D cube used for collision. Here is a picture of the cube and properties.</p>
  
  <p><a href="https://i.stack.imgur.com/DXp9K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DXp9K.png" alt="enter image description here"></a></p>
  
  <p>On the right of the image you can see a property bar called transform. I want to access that through a script and change the position. Here is the code I am trying to do that with.</p>
  
  <pre><code>    void Start () {
  
  
      GameObject bottomWall = GameObject.Find("Bottom");
      Bottom bottomScript = bottomWall.GetComponent&lt;Bottom&gt;();
      bottomScript.wallPos.y = -Camera.main.orthographicSize * 1000;
      bottomWall.transform.position.Set(1000, 100, 1000);
      bottomWall.GetComponent&lt;Transform&gt;().position.Set(100, 100, 100);
  }
  </code></pre>
  
  <p>Nothing happens when I do this. I can't seem to do it, any help with this is extremely appreciated.</p>