How to make player move to opposite side while is in a path?
问题 I want that when touches began the player (red circle) moves to the opposite side of the circular path. I already made that the player follows a path, but I havent find answer to my question on internet. override func didMoveToView(view: SKView) { player = SKSpriteNode(imageNamed: "circulo") player.position = CGPoint(x: self.frame.width / 2, y: self.frame.height / 2 - 170) player.color = colorGris player.colorBlendFactor = 1 player.size = CGSize(width: 25, height: 25) self.addChild(player)