touchYtouchY in onTouchStartonTouchStart, then compare the initial touchYtouchY to touchYtouchY in onTouchMoveonTouchMove. if current touchYtouchY is larger than initial touchYtouchY then it is considered that the user is swiping down, otherwise swiping up.touchYtouchY still larger than initial touchYtouchYJoin the Discord to ask follow-up questions and connect with the community