The best way to avoid what you're asking is to subclass an SKNode
(or SKSpriteNode
) for each node. This then allows you handle the touchesBegan
inside the subclassed node.
So just subclass a SKNode (or SKSpriteNode since VZChurch is a sprite) and handling the touchesBegan
in VZChurch
's it it's own methods file. Then if you have other SKSprites, do the same thing, subclass each sprite and handle the touchesBegan
inside their respective subclassed methods file.