The movement of the object can be done with SKAction. The example shows the object movement code on the left to right:
(Swift) Movement of the object using animation.
UIView.animate(withDuration: 0.1, animations: {
let act_0 = SKAction.moveTo(x: +10, duration: 0.4)
self.nodeName.run(SKAction.sequence([act_0]))
}, completion: {
finished -> Void in
let act_1 = SKAction.moveTo(x: +80, duration: 0.4)
self.nodeName.run(SKAction.sequence([act_1]))
})