How do i control the characters in a game using swipe

i am creating an android game where the player swipes up to jump and swipes down to slide.
I would appreciate the help

Start by looking at the “Swipe Detector” extension