Skip to content

Instantly share code, notes, and snippets.

@identity2
Created June 8, 2019 05:53
Show Gist options
  • Save identity2/fc3ba1880c067e85c12d01ef68fd3938 to your computer and use it in GitHub Desktop.
Save identity2/fc3ba1880c067e85c12d01ef68fd3938 to your computer and use it in GitHub Desktop.
scale action
let scaleAction = SKAction.scale(to: 2.0, duration: 3.0)
spriteNode.run(scaleAction, completion: { spriteNode.color = SKColor.red })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment