0

Can someone help? When I enumerateChildNodesWithName, I get the nodes returned and I can do a println as below. Seems to work fine. But if I try to get a property of the node such as println(thisSprite.position) it fails to build. What am I doing wring?

class func move(scene: SKScene ){
    scene.enumerateChildNodesWithName("anode", usingBlock: {(thisSprite ) in
        println(thisSprite)
        })
}
user3764586
  • 125
  • 1
  • 2
  • 4

0 Answers0