I'm building a website with some touch events and need to know how to make my touch events* only work when only 1 finger is touching (*these events prevent default), but I want to disable these events and restore defaults when 2 fingers are touching (to allow zooming, and keep the 1 finger events from being confused by 2 fingers).
Example:
if (one finger is touching){
// do these events
}
How do I go about doing this?