title: (Unity + 2D) Change UI Button position issue
body: <p>The last few days I've been stuck with a headache of a problem in Unity.</p>
  <p>Okay, I won't go into details with my game, but I've made a super-simple example which represents my issue.</p>
  <p>I have a 2D scene these components:
  <a href="https://i.stack.imgur.com/gnLI0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gnLI0.png" alt="Basic scene" /></a></p>
  <p>When the scene loads, and I tap the button this script executes:</p>
  <pre><code>Vector3 pos = transform.position;
  pos.x -= 10;
  transform.position = pos;
  </code></pre>
  <p>I have also tried this code:</p>
  <pre><code>transform.position = Camera.main.WorldToScreenPoint(new Vector3(0, 0, 0));
  </code></pre>
  <p>The problem is, that when I click the button, the x-pos of the object sets to -1536 which is not as expected. Picture shows the scene after the button has been clicked. Notice the Rect Transform values:
  <a href="https://i.stack.imgur.com/pdrKy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pdrKy.png" alt="After button click" /></a></p>
  <p>So I did a little Googling and found out about ScreenToWorldPoint, WorldToScreenPoint etc but no of these conversions solves my problem.</p>
  <p>I'm pretty sure I'm missing someting here, which probably is right in front of my, but I simply can't figure out what.</p>
  <p>I hope someone can point me in the right direction.</p>
  <p>Best regards.</p>