How to enumerate ALL nodes in a Sprite Kit scene?

Yep, use enumerateChildNodesWithName:usingBlock: and pass //* as the node name. You should be able to call that on any node.

It’s actually one of the examples in Apple’s docs:

//* This search string matches every node in the node tree.

Leave a Comment