title: How to draw circles around a button if it is selected?
body: <p>My scene looks like this:
  <a href="https://i.stack.imgur.com/0aPRW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0aPRW.png" alt="enter image description here"></a></p>
  
  <p>I'm using <code>SpriteKit</code> and I created this scene with four buttons. </p>
  
  <p>If the user taps on one of them there should appear a black circle around the selected button (and stay there). And if the user selects another button the previous circle should disappear and the new button gets a circle. </p>
  
  <p>Does anyone know how to do this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>override func touchesEnded(_ touches: Set&lt;UITouch&gt;, with event: UIEvent?) {
      for touch in touches{
          let locationUser = touch.location(in: self)
          if atPoint(locationUser) == blueButton {
          }
          if atPoint(locationUser) == purpleButton {
          }
          if atPoint(locationUser) == redButton {
          }
          if atPoint(locationUser) == orangeButton {
          }
      }
  }
  </code></pre>