What's the difference between these two SpriteKit functions?

Viewed 97

I don't know what's the difference between these two functions.

First:

coin.run(SKAction.moveTo(y: -146.115, duration: 0))

Second:

coin.position.y = -146.115
3 Answers
Related