How can I execute animations for multiple SKSprintNodes at once?

I already know how to run multiple animations on the same SKSpriteNode at once:
Code Block
createPaths()
let myIcon1 = MyIcon(wIcon: "screen", iSize: iSize)
let move = SKAction.follow(iconPath[0], asOffset: false, orientToPath: false, duration: 1)
let shrink = SKAction.resize(byWidth: -iSize.width/2, height: -iSize.width/2, duration: 1)
let blur = SKAction.fadeAlpha(to: 0.6, duration: 1)
let group = SKAction.group([shrink, move, blur])
myIcon1.run(group)

But I have two more icons I would like to animate at the same time.

Granted, with just 3 icons total I can't see any lag if I do something like this:
Code Block
myIcon1.run(group1)
myIcon2.run(group2)
myIcon3.run(group3)

But surely there is a proper way to do this?

I am not sure there is a proper way, code with SpriteKit can be sometimes not very proper but can work good.
I would do the same, or doing that with icon Nodes in a list or using a loop. I have a code like you (with more nodes, I use a list of node, I check a condition and if true i run the animation on these node)
Accepted Answer
I am not sure there is a proper way, code with SpriteKit can be sometimes not very proper but can work good.
I would do the same, or doing that with icon Nodes in a list or using a loop. I have a code like you (with more nodes, I use a list of node, I check a condition and if true i run the animation on these node)
How can I execute animations for multiple SKSprintNodes at once?
 
 
Q