How can I make two SKActions run at the same time?

I have this code that makes the cam move and then zoom, but I want to make the zoom while it's moving. How can I do that?

Code Block swift        let zoomInAction = SKAction.scale(to: 0.2, duration: 1)        let moving = SKAction.move(to: CGPoint(x: -255, y: 15), duration: 3)        let sequence = SKAction.sequence([moving,zoomInAction])        cam.run(sequence)


Answered by dudamello in 670599022
I solved using group:
Code Block swiftlet zoomInAction = SKAction.scale(to: 0.2, duration: 3let moving = SKAction.move(to: CGPoint(x: -255, y: 15), duration: 3)       let group = SKAction.group([moving,zoomInAction])        cam.run(group)


Accepted Answer
I solved using group:
Code Block swiftlet zoomInAction = SKAction.scale(to: 0.2, duration: 3let moving = SKAction.move(to: CGPoint(x: -255, y: 15), duration: 3)       let group = SKAction.group([moving,zoomInAction])        cam.run(group)


How can I make two SKActions run at the same time?
 
 
Q