Skip to content

Instantly share code, notes, and snippets.

@identity2
Created June 8, 2019 05:53
Show Gist options
  • Save identity2/f60b84cddc849882621202843d81d9f3 to your computer and use it in GitHub Desktop.
Save identity2/f60b84cddc849882621202843d81d9f3 to your computer and use it in GitHub Desktop.
move
let moveAction = SKAction.move(to: CGPoint(x: 10.0, y: 20.0), duration: 5.0)
spriteNode.run(moveAction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment