title: Set<UITouch> has no member "location"
body: <p>Part of a project that I am working on requires me to make an object be moved using touch. I'm currently running Swift 3.1 and Xcode 8.3.3. The 7th line gives me errors saying:</p>
  
  <blockquote>
    <p>Value of type <code>'Set&lt;UITouch&gt;'</code> has no member '<code>location</code>'</p>
  </blockquote>
  
  <p>but I have looked up the documentation and it is a member. Is there some workaround? I only need to move the image based on touch and drag.</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
  var thumbstickLocation = CGPoint(x: 100, y: 100)
  
  @IBOutlet weak var Thumbstick: UIButton!
  
  override func touchesBegan(_ touches:Set&lt;UITouch&gt;, with event: UIEvent?) {
      let lastTouch : UITouch! = touches.first! as UITouch
      thumbstickLocation = touches.location(in: self.view)
      Thumbstick.center = thumbstickLocation
  
  }
  
  override func touchesMoved(_ touches: Set&lt;UITouch&gt;, with event: UIEvent?) {
      let lastTouch : UITouch! = touches.first! as UITouch
      thumbstickLocation = lastTouch.location(in: self.view)
      Thumbstick.center = thumbstickLocation
  }
  </code></pre>