I would like a function to be executed when a user scrolls up on an SKShapeNode.
I can do it for the whole view using the following code:
let swipeUp:UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action: Selector("swipedUp:"))
swipeUp.direction = .up
view?.addGestureRecognizer(swipeUp);
How do I modify this code to work for an SKShapeNode. Thanks