title: How do I get the current x and y position so that I can use GCRectMake?
body: <p>I have this code inside an animation:</p>
  
  <pre><code>image.frame = CGRectMake(x: x, y: y, width, height)
  </code></pre>
  
  <p>I need to get the x and y coordinates of an image. I found this Objective-C code:</p>
  
  <pre><code>CGPoint origin = imageView.frame.origin;
  </code></pre>
  
  <p>Once I find the x and y position of the image, I will need to transform it. I will use something like:</p>
  
  <pre><code>image.frame = CGRectMake(x-50, y-50, width+500, height+500)
  </code></pre>
  
  <p>...so that I can move the image around the screen. How do I find the original x and y positions?</p>