Sliding Finger(touch) gesture?

Anyone got a sliding finger (touch) gesture working? I cant seem to find one that works and I’m trying to make a sliding menu. Does anybody know how to do this or where to find one? I’m clueless.