You have to use the Touch for other things than dragging the screen arround. Have that in mind.
I prefer instance variables for this kind of stuff. Easy to make global, or copying arround on event sheets. Therefor i prefer this way:
Works for mouse and touch. It also does not need a inverted touch to cancel out things.