title: How to generate a CGVector with two CGPoint in Swift 3
body: <p>I'm developing a small game in <code>Swift 3</code>. I want to move my enemies to the character position, I tried to use this function:</p>
  
  <pre><code>let actionTransaction6 = SKAction.move(to: CGPoint(x: 
  personaje.position.x, y:personaje.position.y ), duration: 6.0 -  
  Double(nivel))
  
  enemigo6.run(actionTransaction6)
  </code></pre>
  
  <p>But the enemies stop when they arrive at the initial point of my character. I know that there's a function to move to an specific direction, but I wasn't be able to "find" my CGVector. 
  It might be something like this or what?</p>
  
  <pre><code>SKAction.move(by: enemigo6.position - personaje.position, duration: 10)
  </code></pre>
  
  <p>Thanks for advance!</p>