I know that there is a way to detect the swipe up gesture, but how do I detect a swipe up gesture. I don’t care how long the swipe up gesture is, I just want to do an if statement like this:
public bool nextswipe = false;
if (swipe up gesture) {
if (nextswipe == false) {
nextswipe = true;
//do something
}
} else if (!swipe up gesture) { // no swipe gesture
nextswipe = false;
}