SpriteKit provides functionality to group SKActions together and run them simultaneously. This allows you to quickly put together a group of actions, such as moving a player and animating him at the same time.
Here’s an snippet from the example above:
//MOVE THE PLAYER RIGHT
let moveRight = SKAction.moveByX(200, y:0, duration:2)
//SET UP THE PLAYER WALKING ANIMATIONS
let PlayerWalk = SKAction.animateWithTextures(self.PlayerMove, timePerFrame: 0.1)
//GROUP THE ACTIONS TOGETHER
let groupActions = SKAction.group([moveRight, PlayerWalk])
//REPEAT THE ACTIONS FOREVER
let repeatAction = SKAction.repeatActionForever(groupActions)
self.Player.runAction(repeatAction, withKey: "MovingRight")
Note that the actions repeat only after all actions have completed.