title: How do i get the real center of a SKSpriteNode in Swift 2?
body: <p>I'm trying to figure out the center of my Sprite, i used a soccer ball sprite, changed size to be 120 by 120.
  I managed to get the touch location.</p>
  
  <p>The way to get the center should be sprite.origin.x + (sprite.width / 2), but for some reason, the value i'm getting is non sense. Because no matter where i touch the ball, the touch location.x is always smaller than the Sprite center, even though for example I touched on the right side of the ball, so that way location.x should be > than sprite.center.x.</p>
  
  <p>This is the little code to get ball's center point</p>
  
  <pre><code>let ballCenter = CGVectorMake(ball.position.x + (ball.frame.width / 2),
                                ball.position.y + (ball.frame.height / 2))
  </code></pre>
  
  <p>But when I print the results like this, is always going to the "true" case.</p>
  
  <pre><code> if location.x &lt; ballCenter.dx {
       print("touched on left of ball ", location.x, location.y)
   }else{
       print("touched on right of ball ", location.x, location.y)   
   }
  </code></pre>
  
  <p>This is driving me crazy, can anyone help me to understand this? The sprite origin isn't in the bottom-left?</p>
  
  <p>Also, why the scene frame is so small? I see that my screen Width is 375.0 and screen Height is 667.0 when i'm using an iPhone 6S, shouldn't it be bigger? This is so confusing.</p>
  
  <p>Thanks in advance.</p>